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

Unified Diff: chrome/browser/chromeos/options/wimax_config_view.cc

Issue 673713003: Create a NetworkConnect class and Delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More virtual fixes Created 6 years, 2 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: chrome/browser/chromeos/options/wimax_config_view.cc
diff --git a/chrome/browser/chromeos/options/wimax_config_view.cc b/chrome/browser/chromeos/options/wimax_config_view.cc
index 7d1a644515a070897a6e5c2048c55a33daad667d..92a3cb2ad39a305c4c2d27c54df17d368d84a8e3 100644
--- a/chrome/browser/chromeos/options/wimax_config_view.cc
+++ b/chrome/browser/chromeos/options/wimax_config_view.cc
@@ -101,7 +101,7 @@ void WimaxConfigView::UpdateErrorLabel() {
const NetworkState* wimax = NetworkHandler::Get()->network_state_handler()->
GetNetworkState(service_path_);
if (wimax && wimax->connection_state() == shill::kStateFailure)
- error_msg = ash::network_connect::ErrorString(
+ error_msg = ash::NetworkConnect::Get()->GetErrorString(
wimax->last_error(), wimax->path());
}
if (!error_msg.empty()) {
@@ -168,7 +168,7 @@ bool WimaxConfigView::Login() {
false);
}
- ash::network_connect::ConfigureNetworkAndConnect(
+ ash::NetworkConnect::Get()->ConfigureNetworkAndConnect(
service_path_, properties, share_network);
return true; // dialog will be closed
}
« no previous file with comments | « chrome/browser/chromeos/options/wifi_config_view.cc ('k') | chrome/browser/chromeos/status/data_promo_notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698