mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Plumb RegisterDeviceProvider through to ClientProxy
PiperOrigin-RevId: 533492277
This commit is contained in:
committed by
Copybara-Service
parent
1b59c39c02
commit
f80a50f402
+4
-1
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/types/span.h"
|
||||
@@ -507,7 +508,9 @@ class Core {
|
||||
|
||||
// Registers a DeviceProvider to provide functionality for Nearby Connections
|
||||
// to interact with the DeviceProvider for retrieving the local device.
|
||||
void RegisterDeviceProvider(std::unique_ptr<NearbyDeviceProvider> provider);
|
||||
void RegisterDeviceProvider(std::unique_ptr<NearbyDeviceProvider> provider) {
|
||||
client_.RegisterDeviceProvider(std::move(provider));
|
||||
}
|
||||
|
||||
private:
|
||||
ClientProxy client_;
|
||||
|
||||
Reference in New Issue
Block a user