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

Unified Diff: chrome/browser/ui/webui/options/advanced_options_handler.cc

Issue 7096013: Allow device policy code to be optionally included. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make changes requested by torne. Created 9 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: chrome/browser/ui/webui/options/advanced_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/advanced_options_handler.cc b/chrome/browser/ui/webui/options/advanced_options_handler.cc
index 2f7f0ea8583b8d5f6040b43db1fd58d1ffe7e7cb..535663a109f7c616c641059990b5b69e67b19eef 100644
--- a/chrome/browser/ui/webui/options/advanced_options_handler.cc
+++ b/chrome/browser/ui/webui/options/advanced_options_handler.cc
@@ -202,9 +202,9 @@ void AdvancedOptionsHandler::Initialize() {
#endif
banner_handler_.reset(
- new OptionsManagedBannerHandler(web_ui_,
- ASCIIToUTF16("AdvancedOptions"),
- OPTIONS_PAGE_ADVANCED));
+ OptionsManagedBannerHandler::Create(web_ui_,
+ ASCIIToUTF16("AdvancedOptions"),
+ OPTIONS_PAGE_ADVANCED));
}
WebUIMessageHandler* AdvancedOptionsHandler::Attach(WebUI* web_ui) {
« no previous file with comments | « chrome/browser/prefs/proxy_policy_unittest.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698