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 |
} |