Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: chromeos/components/tether/ble_advertiser.h

Issue 2951303002: [CrOS Tether] Move LocalDeviceDataProvider from //chromeos/components/tether to //components/crypta… (Closed)
Patch Set: Rebased. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/components/tether/BUILD.gn ('k') | chromeos/components/tether/ble_advertiser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chromeos/components/tether/BUILD.gn ('k') | chromeos/components/tether/ble_advertiser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698