Excludes PreferencesRepository from NEARBY_CHROMIUM

PiperOrigin-RevId: 524972823
This commit is contained in:
Chun Zhang
2023-04-17 15:58:34 -07:00
committed by Copybara-Service
parent bf835451b2
commit c426dea3f5
@@ -46,7 +46,9 @@
#ifndef NO_WEBRTC
#include "internal/platform/implementation/webrtc.h"
#endif
#ifndef NEARBY_CHROMIUM
#include "internal/platform/implementation/preferences_repository.h"
#endif
#include "internal/platform/implementation/wifi.h"
#include "internal/platform/implementation/wifi_direct.h"
#include "internal/platform/implementation/wifi_hotspot.h"
@@ -150,8 +152,10 @@ class ImplementationPlatform {
// other cases will return absl Status in error.
static absl::StatusOr<WebResponse> SendRequest(const WebRequest& request);
#ifndef NEARBY_CHROMIUM
static std::unique_ptr<nearby::api::PreferencesRepository>
CreatePreferencesRepository(absl::string_view path);
#endif
};
} // namespace api