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

Unified Diff: chrome/browser/ui/webui/options2/core_options_handler2.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: copyright bumps 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/options2/core_options_handler2.cc
diff --git a/chrome/browser/ui/webui/options2/core_options_handler2.cc b/chrome/browser/ui/webui/options2/core_options_handler2.cc
index 7389e5224e67701d3aa793e6785726c60ec04e32..226756b116d71471e2b5a503b0fe5d84c40db1de 100644
--- a/chrome/browser/ui/webui/options2/core_options_handler2.cc
+++ b/chrome/browser/ui/webui/options2/core_options_handler2.cc
@@ -39,10 +39,13 @@ CoreOptionsHandler::CoreOptionsHandler()
CoreOptionsHandler::~CoreOptionsHandler() {}
-void CoreOptionsHandler::Initialize() {
+void CoreOptionsHandler::InitializeHandler() {
clear_plugin_lso_data_enabled_.Init(prefs::kClearPluginLSODataEnabled,
Profile::FromWebUI(web_ui()),
this);
+}
+
+void CoreOptionsHandler::InitializePage() {
UpdateClearPluginLSOData();
}
« no previous file with comments | « chrome/browser/ui/webui/options2/core_options_handler2.h ('k') | chrome/browser/ui/webui/options2/font_settings_handler2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698