diff options
author | thaidn@google.com <thaidn@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-14 06:55:57 +0000 |
---|---|---|
committer | thaidn@google.com <thaidn@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-14 06:55:57 +0000 |
commit | 1406864f87ed2d76d56653a507754c8dc19aa4a8 (patch) | |
tree | e8f9b983f46113a345ce3e2f3cc48e3fc0e0157a /google_apis | |
parent | cb20fb3ec5f6e470a6f4df6c485142bda8e23171 (diff) | |
download | chromium_src-1406864f87ed2d76d56653a507754c8dc19aa4a8.zip chromium_src-1406864f87ed2d76d56653a507754c8dc19aa4a8.tar.gz chromium_src-1406864f87ed2d76d56653a507754c8dc19aa4a8.tar.bz2 |
/OAuthLogin requests should use ChannelID.
R=mattm@chromium.org
BUG=315301
Review URL: https://codereview.chromium.org/70633004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/gaia/gaia_auth_fetcher.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/google_apis/gaia/gaia_auth_fetcher.cc b/google_apis/gaia/gaia_auth_fetcher.cc index 8c0eb9a..c5254f4 100644 --- a/google_apis/gaia/gaia_auth_fetcher.cc +++ b/google_apis/gaia/gaia_auth_fetcher.cc @@ -220,8 +220,8 @@ net::URLFetcher* GaiaAuthFetcher::CreateGaiaFetcher( // The Gaia token exchange requests do not require any cookie-based // identification as part of requests. We suppress sending any cookies to // maintain a separation between the user's browsing and Chrome's internal - // services. Where such mixing is desired (MergeSession), it will be done - // explicitly. + // services. Where such mixing is desired (MergeSession or OAuthLogin), it + // will be done explicitly. to_return->SetLoadFlags(load_flags); // Fetchers are sometimes cancelled because a network change was detected, @@ -637,7 +637,7 @@ void GaiaAuthFetcher::StartTokenFetchForUberAuthExchange( std::string(), authentication_header, uberauth_token_gurl_, - kLoadFlagsIgnoreCookies, + net::LOAD_NORMAL, this)); fetch_pending_ = true; fetcher_->Start(); @@ -654,7 +654,7 @@ void GaiaAuthFetcher::StartOAuthLogin(const std::string& access_token, request_body_, authentication_header, oauth_login_gurl_, - kLoadFlagsIgnoreCookies, + net::LOAD_NORMAL, this)); fetch_pending_ = true; fetcher_->Start(); |