| Index: chromeos/components/tether/ble_advertiser.h
|
| diff --git a/chromeos/components/tether/ble_advertiser.h b/chromeos/components/tether/ble_advertiser.h
|
| index 46177c87d88143bfcbf29a9cd831a700e683e913..590b86e15bbe7b294d41ce7cebfb222bb9db78ca 100644
|
| --- a/chromeos/components/tether/ble_advertiser.h
|
| +++ b/chromeos/components/tether/ble_advertiser.h
|
| @@ -15,6 +15,7 @@
|
| #include "device/bluetooth/bluetooth_advertisement.h"
|
|
|
| namespace cryptauth {
|
| +class LocalDeviceDataProvider;
|
| class RemoteBeaconSeedFetcher;
|
| }
|
|
|
| @@ -22,8 +23,6 @@ namespace chromeos {
|
|
|
| namespace tether {
|
|
|
| -class LocalDeviceDataProvider;
|
| -
|
| // Advertises to a given device. When StartAdvertisingToDevice() is called, a
|
| // device-specific EID value is computed deterministically and is set as the
|
| // service data of the advertisement. If that device is nearby and scanning,
|
| @@ -33,7 +32,7 @@ class BleAdvertiser {
|
| public:
|
| BleAdvertiser(
|
| scoped_refptr<device::BluetoothAdapter> adapter,
|
| - const LocalDeviceDataProvider* local_device_data_provider,
|
| + const cryptauth::LocalDeviceDataProvider* local_device_data_provider,
|
| const cryptauth::RemoteBeaconSeedFetcher* remote_beacon_seed_fetcher);
|
| virtual ~BleAdvertiser();
|
|
|
| @@ -95,14 +94,14 @@ class BleAdvertiser {
|
| scoped_refptr<device::BluetoothAdapter> adapter,
|
| std::unique_ptr<cryptauth::ForegroundEidGenerator> eid_generator,
|
| const cryptauth::RemoteBeaconSeedFetcher* remote_beacon_seed_fetcher,
|
| - const LocalDeviceDataProvider* local_device_data_provider);
|
| + const cryptauth::LocalDeviceDataProvider* local_device_data_provider);
|
|
|
| scoped_refptr<device::BluetoothAdapter> adapter_;
|
|
|
| std::unique_ptr<cryptauth::ForegroundEidGenerator> eid_generator_;
|
| // Not owned by this instance and must outlive it.
|
| const cryptauth::RemoteBeaconSeedFetcher* remote_beacon_seed_fetcher_;
|
| - const LocalDeviceDataProvider* local_device_data_provider_;
|
| + const cryptauth::LocalDeviceDataProvider* local_device_data_provider_;
|
|
|
| std::map<std::string, std::unique_ptr<IndividualAdvertisement>>
|
| device_id_to_advertisement_map_;
|
|
|