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

Unified Diff: chrome/browser/android/signin/signin_manager_android.cc

Issue 480453002: Disable UI flags for non-desktop OSes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move non-desktop OSes onto the AccountConsistency flag Created 6 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/android/signin/signin_manager_android.cc
diff --git a/chrome/browser/android/signin/signin_manager_android.cc b/chrome/browser/android/signin/signin_manager_android.cc
index 34ebb4d058754384fda48ae72038d21fd066b8aa..5bf248ab5ef42db7bdef695679ef9f075ced219d 100644
--- a/chrome/browser/android/signin/signin_manager_android.cc
+++ b/chrome/browser/android/signin/signin_manager_android.cc
@@ -232,7 +232,7 @@ void SigninManagerAndroid::MergeSessionCompleted(
void SigninManagerAndroid::LogInSignedInUser(JNIEnv* env, jobject obj) {
SigninManagerBase* signin_manager =
SigninManagerFactory::GetForProfile(profile_);
- if (switches::IsNewProfileManagement()) {
+ if (switches::IsEnableAccountConsistency()) {
// New Mirror code path that just fires the events and let the
// Account Reconcilor handles everything.
AndroidProfileOAuth2TokenService* token_service =
@@ -286,7 +286,7 @@ static jboolean ShouldLoadPolicyForUser(JNIEnv* env,
}
static jboolean IsNewProfileManagementEnabled(JNIEnv* env, jclass clazz) {
- return switches::IsNewProfileManagement();
+ return switches::IsEnableAccountConsistency();
aruslan 2014/08/18 21:25:21 This is a deadly way of dealing with flags. It is
Mike Lerman 2014/08/19 14:59:07 I don't see a IsNewProfileManagementEnabled flag,
}
// static

Powered by Google App Engine
This is Rietveld 408576698