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

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

Issue 1075273002: Handle ListAccount fetches from within the GaiaCookieManagerService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a test post rebase Created 5 years, 8 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 debf8eca4de39a1bea92bde43c12001b0a21a36a..90ddd80421e1c06e4069745008ded78fe1377616 100644
--- a/chrome/browser/signin/chrome_signin_client.cc
+++ b/chrome/browser/signin/chrome_signin_client.cc
@@ -61,8 +61,10 @@ bool ChromeSigninClient::ProfileAllowsSigninCookies(Profile* profile) {
bool ChromeSigninClient::SettingsAllowSigninCookies(
CookieSettings* cookie_settings) {
GURL gaia_url = GaiaUrls::GetInstance()->gaia_url();
+ GURL google_url = GaiaUrls::GetInstance()->google_url();
return cookie_settings &&
- cookie_settings->IsSettingCookieAllowed(gaia_url, gaia_url);
+ cookie_settings->IsSettingCookieAllowed(gaia_url, gaia_url) &&
+ cookie_settings->IsSettingCookieAllowed(google_url, google_url);
}
PrefService* ChromeSigninClient::GetPrefs() { return profile_->GetPrefs(); }
« no previous file with comments | « chrome/browser/signin/account_reconcilor_unittest.cc ('k') | chrome/browser/signin/fake_account_reconcilor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698