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

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

Issue 10006028: Plugins page in BWSI session has unnecessary and misleading UI components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit fix Created 8 years, 8 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/core_chromeos_options_handler2.cc
diff --git a/chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.cc b/chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.cc
index 06ba4fba11e5c05754ece7787227e8412d7ad118..315ce1e86e4dc8dc12e5766406a45e439cecbcd1 100644
--- a/chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.cc
+++ b/chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.cc
@@ -18,6 +18,7 @@
#include "chrome/browser/policy/browser_policy_connector.h"
#include "chrome/browser/prefs/pref_set_observer.h"
#include "chrome/browser/profiles/profile.h"
+#include "chrome/browser/ui/webui/chromeos/ui_account_tweaks.h"
#include "chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/pref_names.h"
@@ -218,10 +219,7 @@ void CoreChromeOSOptionsHandler::GetLocalizedValues(
DCHECK(localized_strings);
CoreOptionsHandler::GetLocalizedValues(localized_strings);
- localized_strings->SetString(
- "loggedInAsGuest",
- chromeos::UserManager::Get()->IsLoggedInAsGuest() ?
- ASCIIToUTF16("true") : ASCIIToUTF16("false"));
+ AddAccountUITweaksLocalizedValues(localized_strings);
}
void CoreChromeOSOptionsHandler::Observe(
« no previous file with comments | « chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc ('k') | chrome/browser/ui/webui/plugins_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698