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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc

Issue 9464053: Hide/Disable several (meaningless) options in Settings uber-page for Guest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Another merge Created 8 years, 9 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/options2/chromeos/accounts_options_handler2.cc
diff --git a/chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc b/chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc
index 52c94b78645ca82e20230f6cf9ca64af067867ed..a85769bb6ffc6209a9c3133e858a14c913dc4a08 100644
--- a/chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc
+++ b/chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc
@@ -90,9 +90,6 @@ void AccountsOptionsHandler::GetLocalizedValues(
localized_strings->SetString("current_user_is_owner",
UserManager::Get()->IsCurrentUserOwner() ?
ASCIIToUTF16("true") : ASCIIToUTF16("false"));
- localized_strings->SetString("logged_in_as_guest",
- UserManager::Get()->IsLoggedInAsGuest() ?
- ASCIIToUTF16("true") : ASCIIToUTF16("false"));
localized_strings->SetString("whitelist_is_managed",
g_browser_process->browser_policy_connector()->IsEnterpriseManaged() ?
ASCIIToUTF16("true") : ASCIIToUTF16("false"));

Powered by Google App Engine
This is Rietveld 408576698