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

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

Issue 2819303002: Changed wifi arcs to mobile bars for Tether network. (Closed)
Patch Set: Fixed small typo preventing unit tests from building. 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.cc
diff --git a/chromeos/components/tether/tether_connector.cc b/chromeos/components/tether/tether_connector.cc
index 4518037cc3d30e3dfca2938db2ae9bfb29b8bb5e..02cd147560589b4960b50ff46f56aba88f10dea7 100644
--- a/chromeos/components/tether/tether_connector.cc
+++ b/chromeos/components/tether/tether_connector.cc
@@ -139,7 +139,7 @@ void TetherConnector::OnSuccessfulConnectTetheringResponse(
connect_tethering_operation_.reset();
wifi_hotspot_connector_->ConnectToWifiHotspot(
- ssid_copy, password_copy,
+ ssid_copy, password_copy, active_host_->GetTetherNetworkGuid(),
base::Bind(&TetherConnector::OnWifiConnection,
weak_ptr_factory_.GetWeakPtr(), remote_device_id));
}
@@ -255,23 +255,6 @@ void TetherConnector::OnWifiConnection(const std::string& device_id,
return;
}
- bool successful_association =
- network_state_handler_->AssociateTetherNetworkStateWithWifiNetwork(
- device_id, wifi_network_guid);
- if (successful_association) {
- PA_LOG(INFO) << "Successfully connected to host device with ID "
- << cryptauth::RemoteDevice::TruncateDeviceIdForLogs(device_id)
- << ". Tether network ID: \"" << device_id
- << "\", Wi-Fi network ID: \"" << wifi_network_guid << "\"";
- } else {
- PA_LOG(WARNING) << "Successfully connected to host device with ID "
- << cryptauth::RemoteDevice::TruncateDeviceIdForLogs(
- device_id)
- << ", but failed to associate tether network with ID \""
- << device_id << "\" to Wi-Fi network with ID \""
- << wifi_network_guid << "\".";
- }
-
SetConnectionSucceeded(device_id, wifi_network_guid);
}

Powered by Google App Engine
This is Rietveld 408576698