Index: chromeos/components/tether/fake_wifi_hotspot_connector.cc |
diff --git a/chromeos/components/tether/fake_wifi_hotspot_connector.cc b/chromeos/components/tether/fake_wifi_hotspot_connector.cc |
index d6a90e0dd5cdd22a5104ce28f22b06dd0a3bc090..1b22dda883fae1ac49fbcceb67dc496fafd0f591 100644 |
--- a/chromeos/components/tether/fake_wifi_hotspot_connector.cc |
+++ b/chromeos/components/tether/fake_wifi_hotspot_connector.cc |
@@ -14,7 +14,8 @@ namespace tether { |
FakeWifiHotspotConnector::FakeWifiHotspotConnector( |
NetworkStateHandler* network_state_handler) |
- : WifiHotspotConnector(network_state_handler, nullptr) {} |
+ : WifiHotspotConnector(network_state_handler, |
+ nullptr /* network_connect */) {} |
FakeWifiHotspotConnector::~FakeWifiHotspotConnector() {} |
@@ -27,9 +28,11 @@ void FakeWifiHotspotConnector::CallMostRecentCallback( |
void FakeWifiHotspotConnector::ConnectToWifiHotspot( |
const std::string& ssid, |
const std::string& password, |
+ const std::string& tether_network_guid, |
const WifiHotspotConnector::WifiConnectionCallback& callback) { |
most_recent_ssid_ = ssid; |
most_recent_password_ = password; |
+ most_recent_tether_network_guid_ = tether_network_guid; |
most_recent_callback_ = callback; |
} |