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

Unified Diff: chromeos/components/tether/ble_connection_manager.cc

Issue 2803153002: [CrOS Tether] Refactor BleScanner so that it takes a BluetoothAdapter in its constructor instead of… (Closed)
Patch Set: Created 3 years, 8 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
Index: chromeos/components/tether/ble_connection_manager.cc
diff --git a/chromeos/components/tether/ble_connection_manager.cc b/chromeos/components/tether/ble_connection_manager.cc
index 221449b1704a101d716f9c4d99b52fecf30a7d94..78401ed06deddd724787b7c9cbab5f7576256b08 100644
--- a/chromeos/components/tether/ble_connection_manager.cc
+++ b/chromeos/components/tether/ble_connection_manager.cc
@@ -178,8 +178,7 @@ BleConnectionManager::BleConnectionManager(
: BleConnectionManager(
cryptauth_service,
adapter,
- // TODO(khorimoto): Inject |adapter| into |BleScanner|.
- base::MakeUnique<BleScanner>(local_device_data_provider),
+ base::MakeUnique<BleScanner>(adapter, local_device_data_provider),
base::MakeUnique<BleAdvertiser>(adapter,
local_device_data_provider,
remote_beacon_seed_fetcher),
« no previous file with comments | « chromeos/components/tether/ble_connection_manager.h ('k') | chromeos/components/tether/ble_connection_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698