mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Excludes PreferencesRepository from NEARBY_CHROMIUM
PiperOrigin-RevId: 524972823
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user