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..a25f9f840ab9852be5aa8f3b5cddcd5308cb3f9d 100644 |
--- a/chromeos/components/tether/wifi_hotspot_connector.h |
+++ b/chromeos/components/tether/wifi_hotspot_connector.h |
@@ -11,6 +11,7 @@ |
#include "base/observer_list.h" |
#include "base/timer/timer.h" |
#include "base/values.h" |
+#include "chromeos/components/tether/active_host.h" |
#include "chromeos/network/network_state_handler_observer.h" |
namespace chromeos { |
@@ -25,7 +26,8 @@ namespace tether { |
class WifiHotspotConnector : public NetworkStateHandlerObserver { |
public: |
WifiHotspotConnector(NetworkStateHandler* network_state_handler, |
- NetworkConnect* network_connect); |
+ NetworkConnect* network_connect, |
+ ActiveHost* active_host); |
~WifiHotspotConnector() override; |
// Function which receives the GUID of the connected Wi-Fi hotspot. If |
@@ -59,6 +61,7 @@ class WifiHotspotConnector : public NetworkStateHandlerObserver { |
void SetTimerForTest(std::unique_ptr<base::Timer> timer); |
+ ActiveHost* active_host_; |
Kyle Horimoto
2017/04/17 19:50:04
nit: Place injected classes in the same order as t
lesliewatkins
2017/04/27 00:33:53
Done.
Initializing them in a different order give
|
NetworkStateHandler* network_state_handler_; |
NetworkConnect* network_connect_; |
std::unique_ptr<base::Timer> timer_; |