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

Unified Diff: chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc

Issue 8102019: redesign and reimplement proxy config service and tracker, revise proxy ui on cros (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/ui/webui/chromeos/proxy_settings_ui.cc
===================================================================
--- chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc (revision 103881)
+++ chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc (working copy)
@@ -102,10 +102,10 @@
(static_cast<OptionsPageUIHandler*>(*iter))->Initialize();
}
if (proxy_settings()) {
+ proxy_settings()->SetCurrentUserProfile(GetProfile());
proxy_settings()->MakeActiveNetworkCurrent();
std::string network = proxy_settings()->GetCurrentNetworkName();
- if (!network.empty())
- proxy_handler_->SetNetworkName(network);
+ proxy_handler_->SetNetworkName(network);
}
}

Powered by Google App Engine
This is Rietveld 408576698