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

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

Issue 340723002: Revert 277793 "Enable consistent identity on android platform by..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2056/src/
Patch Set: 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
===================================================================
--- chrome/browser/profiles/profile_window.cc (revision 277945)
+++ chrome/browser/profiles/profile_window.cc (working copy)
@@ -23,7 +23,6 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
#include "components/signin/core/browser/account_reconcilor.h"
-#include "components/signin/core/common/profile_management_switches.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/user_metrics.h"
@@ -318,9 +317,6 @@
}
void EnableNewProfileManagementPreview(Profile* profile) {
-#if defined(OS_ANDROID)
- NOTREACHED();
-#else
about_flags::PrefServiceFlagsStorage flags_storage(
g_browser_process->local_state());
about_flags::SetExperimentEnabled(
@@ -328,11 +324,10 @@
kNewProfileManagementExperimentInternalName,
true);
- switches::EnableNewProfileManagementForTesting(
- CommandLine::ForCurrentProcess());
+ CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kNewProfileManagement);
chrome::ShowUserManagerWithTutorial(profiles::USER_MANAGER_TUTORIAL_OVERVIEW);
UpdateServicesWithNewProfileManagementFlag(profile, true);
-#endif
}
void DisableNewProfileManagementPreview(Profile* profile) {
« no previous file with comments | « chrome/browser/profiles/profile_manager_unittest.cc ('k') | chrome/browser/signin/account_reconcilor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698