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

Unified Diff: chrome/browser/ui/webui/options/chromeos/accounts_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/chromeos/accounts_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc
index 4d6c0055af8230d2fe7b2d8aa57bd9f3e197e769..dcf14ab8fa8962af54cefceabe8d931cdbf77558 100644
--- a/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc
@@ -118,7 +118,7 @@ void AccountsOptionsHandler::WhitelistExistingUsers(const ListValue* args) {
void AccountsOptionsHandler::Initialize() {
DCHECK(web_ui_);
banner_handler_.reset(
- new OptionsManagedBannerHandler(web_ui_,
+ OptionsManagedBannerHandler::Create(web_ui_,
ASCIIToUTF16("AccountsOptions"),
OPTIONS_PAGE_ACCOUNTS));
}

Powered by Google App Engine
This is Rietveld 408576698