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

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

Issue 2801353002: [CrOS Tether] Fill out the Initializer class. Tether will now initialize fully once the flag is ena… (Closed)
Patch Set: hansberry@ comments, DEPS change. 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/host_scanner.cc
diff --git a/chromeos/components/tether/host_scanner.cc b/chromeos/components/tether/host_scanner.cc
index e74407454e4f667e68e155838ecd6926e7b86104..c5f918bb33e52582d1a8e5fedc11de0a1dc08879 100644
--- a/chromeos/components/tether/host_scanner.cc
+++ b/chromeos/components/tether/host_scanner.cc
@@ -17,6 +17,17 @@ HostScanner::HostScanner(
TetherHostFetcher* tether_host_fetcher,
BleConnectionManager* connection_manager,
HostScanDevicePrioritizer* host_scan_device_prioritizer,
+ NotificationPresenter* notification_presenter)
+ : HostScanner(tether_host_fetcher,
+ connection_manager,
+ host_scan_device_prioritizer,
+ NetworkHandler::Get()->network_state_handler(),
+ notification_presenter) {}
+
+HostScanner::HostScanner(
+ TetherHostFetcher* tether_host_fetcher,
+ BleConnectionManager* connection_manager,
+ HostScanDevicePrioritizer* host_scan_device_prioritizer,
NetworkStateHandler* network_state_handler,
NotificationPresenter* notification_presenter)
: tether_host_fetcher_(tether_host_fetcher),

Powered by Google App Engine
This is Rietveld 408576698