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

Unified Diff: chrome/browser/profiles/profile_window.cc

Issue 323133005: Enable consistent identity on android platform by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 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/profiles/profile_window.cc
diff --git a/chrome/browser/profiles/profile_window.cc b/chrome/browser/profiles/profile_window.cc
index ca62eeafa2250d40c43e45cfb7e066c2241fa2f8..2433811179512561cf71d3103e5558c8bd577d11 100644
--- a/chrome/browser/profiles/profile_window.cc
+++ b/chrome/browser/profiles/profile_window.cc
@@ -306,6 +306,9 @@ void ShowUserManagerMaybeWithTutorial(Profile* profile) {
}
void EnableNewProfileManagementPreview() {
+#if defined(OS_ANDROID)
+ NOTREACHED();
+#else
about_flags::PrefServiceFlagsStorage flags_storage(
g_browser_process->local_state());
about_flags::SetExperimentEnabled(
@@ -314,8 +317,9 @@ void EnableNewProfileManagementPreview() {
true);
CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kNewProfileManagement);
+ switches::kEnableNewProfileManagement);
chrome::ShowUserManagerWithTutorial(profiles::USER_MANAGER_TUTORIAL_OVERVIEW);
+#endif
}
void DisableNewProfileManagementPreview() {

Powered by Google App Engine
This is Rietveld 408576698