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

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

Issue 22840004: Removed Powerwash button from managed users' settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 7fc38bd5da3379ea0cd7f1836424502b6f3d347b..d7809b28d2bdf2febdd95f31902115ccaf2a0e2e 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -776,7 +776,8 @@ void BrowserOptionsHandler::InitializePage() {
#if defined(OS_CHROMEOS)
SetupAccessibilityFeatures();
if (!g_browser_process->browser_policy_connector()->IsEnterpriseManaged() &&
- !chromeos::UserManager::Get()->IsLoggedInAsGuest()) {
+ !chromeos::UserManager::Get()->IsLoggedInAsGuest() &&
+ !chromeos::UserManager::Get()->IsLoggedInAsLocallyManagedUser()) {
web_ui()->CallJavascriptFunction(
"BrowserOptions.enableFactoryResetSection");
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698