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

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

Issue 2917803002: Tether: Display a 'setup required' notification when appropriate. (Closed)
Patch Set: Rebase. Created 3 years, 7 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/tether_connector.h
diff --git a/chromeos/components/tether/tether_connector.h b/chromeos/components/tether/tether_connector.h
index 9f7f591960131937eb61d9836f3dd6e249461bcb..5498f893b6ca6a758e0ac31f47282f408bde6946 100644
--- a/chromeos/components/tether/tether_connector.h
+++ b/chromeos/components/tether/tether_connector.h
@@ -19,6 +19,8 @@ namespace tether {
class ActiveHost;
class BleConnectionManager;
class DeviceIdTetherNetworkGuidMap;
+class HostScanCache;
+class NotificationPresenter;
class TetherHostFetcher;
class TetherHostResponseRecorder;
class WifiHotspotConnector;
@@ -37,7 +39,9 @@ class TetherConnector : public ConnectTetheringOperation::Observer {
TetherHostFetcher* tether_host_fetcher,
BleConnectionManager* connection_manager,
TetherHostResponseRecorder* tether_host_response_recorder,
- DeviceIdTetherNetworkGuidMap* device_id_tether_network_guid_map);
+ DeviceIdTetherNetworkGuidMap* device_id_tether_network_guid_map,
+ HostScanCache* host_scan_cache,
+ NotificationPresenter* notification_presenter);
virtual ~TetherConnector();
virtual void ConnectToNetwork(
@@ -78,6 +82,8 @@ class TetherConnector : public ConnectTetheringOperation::Observer {
BleConnectionManager* connection_manager_;
TetherHostResponseRecorder* tether_host_response_recorder_;
DeviceIdTetherNetworkGuidMap* device_id_tether_network_guid_map_;
+ HostScanCache* host_scan_cache_;
+ NotificationPresenter* notification_presenter_;
std::string device_id_pending_connection_;
base::Closure success_callback_;

Powered by Google App Engine
This is Rietveld 408576698