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

Unified Diff: chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc

Issue 144983002: Fixed chrome://settings/accounts availability for MP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added browsertest. Created 6 years, 11 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 353c098822bfd8dffe0cf37a53843b3f2385c7e8..42f13a4af58a55d421286a39d156654308c2b976 100644
--- a/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc
@@ -88,7 +88,8 @@ void AccountsOptionsHandler::GetLocalizedValues(
localized_strings->SetBoolean("whitelist_is_managed",
connector->IsEnterpriseManaged());
- AddAccountUITweaksLocalizedValues(localized_strings);
+ AddAccountUITweaksLocalizedValues(localized_strings,
+ Profile::FromWebUI(web_ui()));
}
void AccountsOptionsHandler::HandleWhitelistUser(const base::ListValue* args) {

Powered by Google App Engine
This is Rietveld 408576698