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

Unified Diff: chrome/browser/signin/chrome_signin_client.cc

Issue 372033002: Change semantics of newProfileManagement() to accountConsistency() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix profile_chooser_controller_test Created 6 years, 5 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/signin/chrome_signin_client.cc
diff --git a/chrome/browser/signin/chrome_signin_client.cc b/chrome/browser/signin/chrome_signin_client.cc
index f4a9a8753a508b9bc4c0e9e27a1aaa1174c8d9e2..f72006c9ba53060d4c552783a2e4f273ab382c48 100644
--- a/chrome/browser/signin/chrome_signin_client.cc
+++ b/chrome/browser/signin/chrome_signin_client.cc
@@ -156,10 +156,10 @@ net::URLRequestContextGetter* ChromeSigninClient::GetURLRequestContext() {
}
bool ChromeSigninClient::ShouldMergeSigninCredentialsIntoCookieJar() {
- // If inline sign in is enabled, but new profile management is not, the user's
+ // If inline sign in is enabled, but account consistency is not, the user's
// credentials should be merge into the cookie jar.
return !switches::IsEnableWebBasedSignin() &&
- !switches::IsNewProfileManagement();
+ !switches::IsEnableAccountConsistency();
}
std::string ChromeSigninClient::GetProductVersion() {
@@ -186,8 +186,8 @@ void ChromeSigninClient::SetCookieChangedCallback(
void ChromeSigninClient::GoogleSigninSucceeded(const std::string& username,
const std::string& password) {
#if !defined(OS_ANDROID)
- // Don't store password hash except for users of new profile features.
- if (switches::IsNewProfileManagement())
+ // Don't store password hash except for users of account consistency features.
+ if (switches::IsEnableAccountConsistency())
chrome::SetLocalAuthCredentials(profile_, password);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698