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

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

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/wifi_hotspot_connector.h
diff --git a/chromeos/components/tether/wifi_hotspot_connector.h b/chromeos/components/tether/wifi_hotspot_connector.h
index 137ae7a675aa2ce37648e5a801e2dfe8ad86ce79..ec2b9c1abbcec6622d48c2054eb10e7e1ce8ea2c 100644
--- a/chromeos/components/tether/wifi_hotspot_connector.h
+++ b/chromeos/components/tether/wifi_hotspot_connector.h
@@ -24,8 +24,7 @@ namespace tether {
// Connects to a Wi-Fi hotspot, given an SSID and password.
class WifiHotspotConnector : public NetworkStateHandlerObserver {
public:
- WifiHotspotConnector(NetworkStateHandler* network_state_handler,
- NetworkConnect* network_connect);
+ WifiHotspotConnector();
~WifiHotspotConnector() override;
// Function which receives the GUID of the connected Wi-Fi hotspot. If
@@ -44,6 +43,10 @@ class WifiHotspotConnector : public NetworkStateHandlerObserver {
// NetworkStateHandlerObserver:
void NetworkPropertiesUpdated(const NetworkState* network) override;
+ protected:
+ WifiHotspotConnector(NetworkStateHandler* network_state_handler,
+ NetworkConnect* network_connect);
+
private:
friend class WifiHotspotConnectorTest;

Powered by Google App Engine
This is Rietveld 408576698