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

Unified Diff: google_apis/gaia/gaia_auth_fetcher.h

Issue 301323003: Remove GaiaAuthFetcher::StartCookieForOAuthCodeExchange. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « google_apis/gaia/gaia_auth_consumer.h ('k') | google_apis/gaia/gaia_auth_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_auth_fetcher.h
diff --git a/google_apis/gaia/gaia_auth_fetcher.h b/google_apis/gaia/gaia_auth_fetcher.h
index 3dfb4baae94feb67768e070e297320175528e41a..0864f187cfb1ae445fc443501365b709f661c333 100644
--- a/google_apis/gaia/gaia_auth_fetcher.h
+++ b/google_apis/gaia/gaia_auth_fetcher.h
@@ -107,15 +107,6 @@ class GaiaAuthFetcher : public net::URLFetcherDelegate {
void StartRevokeOAuth2Token(const std::string& auth_token);
// Start a request to exchange the cookies of a signed-in user session
- // for an OAuth2 authorization code. In the case of a session with
- // multiple accounts signed in, |session_index| indicate the which of accounts
- // within the session.
- //
- // Either OnClientOAuthCodeSuccess or OnClientOAuthCodeFailure will be
- // called on the consumer on the original thread.
- void StartCookieForOAuthCodeExchange(const std::string& session_index);
-
- // Start a request to exchange the cookies of a signed-in user session
// for an OAuthLogin-scoped oauth2 token. In the case of a session with
// multiple accounts signed in, |session_index| indicate the which of accounts
// within the session.
@@ -383,9 +374,6 @@ class GaiaAuthFetcher : public net::URLFetcherDelegate {
std::string request_body_;
std::string requested_service_; // Currently tracked for IssueAuthToken only.
bool fetch_pending_;
- // This is to distinguish between the fetch for oauth login token and that for
- // oauth code.
- bool fetch_code_only_;
friend class GaiaAuthFetcherTest;
FRIEND_TEST_ALL_PREFIXES(GaiaAuthFetcherTest, CaptchaParse);
« no previous file with comments | « google_apis/gaia/gaia_auth_consumer.h ('k') | google_apis/gaia/gaia_auth_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698