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

Unified Diff: chrome/browser/ui/webui/chromeos/ui_account_tweaks.cc

Issue 18197002: Remove the google drive option on the settings page for supervized user (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/chromeos/ui_account_tweaks.cc
diff --git a/chrome/browser/ui/webui/chromeos/ui_account_tweaks.cc b/chrome/browser/ui/webui/chromeos/ui_account_tweaks.cc
index 3d5a909a07986c4995ae79fa5870d237d8f79af9..51d9540bde13d660db8abed7a173a73a86626829 100644
--- a/chrome/browser/ui/webui/chromeos/ui_account_tweaks.cc
+++ b/chrome/browser/ui/webui/chromeos/ui_account_tweaks.cc
@@ -29,6 +29,9 @@ void AddAccountUITweaksLocalizedValues(
localized_strings->SetBoolean("loggedInAsGuest",
UserManager::Get()->IsLoggedInAsGuest());
+
+ localized_strings->SetBoolean("loggedInAsLocallyManagedUser",
+ UserManager::Get()->IsLoggedInAsLocallyManagedUser());
}
void AddAccountUITweaksLocalizedValues(
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | ui/webui/resources/js/chromeos/ui_account_tweaks.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698