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

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: 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 14f7f99ccd99afae3824251b6a20f9eb7260f1c0..d9b2fd7a7896d160ea4c6ec0fc34e5ceb7dc7a0d 100644
--- a/chrome/browser/signin/chrome_signin_client.cc
+++ b/chrome/browser/signin/chrome_signin_client.cc
@@ -139,10 +139,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() {
@@ -169,8 +169,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