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

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

Issue 9693032: [uber page] Split up initialization of handlers from initialization of webui pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros compile fix, still issues Created 8 years, 9 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
diff --git a/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc b/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
index c967be190b99b463afab83edfb34d2ffa400ca72..351d4f2714501bb7ab5843597bb42706e6f68648 100644
--- a/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
@@ -97,8 +97,10 @@ ProxySettingsUI::~ProxySettingsUI() {
}
void ProxySettingsUI::InitializeHandlers() {
- core_handler_->Initialize();
- proxy_handler_->Initialize();
+ core_handler_->InitializeHandler();
+ proxy_handler_->InitializeHandler();
+ core_handler_->InitializePage();
+ proxy_handler_->InitializePage();
Profile* profile = Profile::FromWebUI(web_ui());
PrefProxyConfigTracker* proxy_tracker = profile->GetProxyConfigTracker();
proxy_tracker->UIMakeActiveNetworkCurrent();

Powered by Google App Engine
This is Rietveld 408576698