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

Unified Diff: chrome/browser/chromeos/settings/cros_settings.cc

Issue 2298073003: Better access to offline login flow from user pods (Closed)
Patch Set: Created 4 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
Index: chrome/browser/chromeos/settings/cros_settings.cc
diff --git a/chrome/browser/chromeos/settings/cros_settings.cc b/chrome/browser/chromeos/settings/cros_settings.cc
index c0d7f889b058146cd01071f85ccf271ac4c2fd22..9031b2a2f0a7555daa6751e758cd6dff44983f2c 100644
--- a/chrome/browser/chromeos/settings/cros_settings.cc
+++ b/chrome/browser/chromeos/settings/cros_settings.cc
@@ -168,6 +168,11 @@ void CrosSettings::RemoveFromList(const std::string& path,
bool CrosSettings::GetBoolean(const std::string& path,
bool* bool_value) const {
Greg Levin 2016/08/31 16:52:06 *** Ignore this, it's only here for debugging purp
+ if (path == kAccountsPrefShowUserNamesOnSignIn) {
+ *bool_value = true; // Set to show or hide user pods on signin
+ return true;
+ }
+
DCHECK(CalledOnValidThread());
const base::Value* value = GetPref(path);
if (value)

Powered by Google App Engine
This is Rietveld 408576698