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

Unified Diff: chrome/common/net/gaia/oauth2_api_call_flow.h

Issue 10386063: Move URLFetcherDelegate to net/ and split URLFetcher between net/ and content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head, fix win component build Created 8 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
Index: chrome/common/net/gaia/oauth2_api_call_flow.h
diff --git a/chrome/common/net/gaia/oauth2_api_call_flow.h b/chrome/common/net/gaia/oauth2_api_call_flow.h
index 446388b13f2300f3739f9f5a394b404c1133ab3a..8cf1c8977e12ffa5c54d9ae4abdfb74b617b4c0a 100644
--- a/chrome/common/net/gaia/oauth2_api_call_flow.h
+++ b/chrome/common/net/gaia/oauth2_api_call_flow.h
@@ -57,7 +57,7 @@ class OAuth2ApiCallFlow
virtual void OnGetTokenFailure(const GoogleServiceAuthError& error) OVERRIDE;
// content::URLFetcherDelegate implementation.
- virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE;
+ virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
protected:
// Template methods for sub-classes.
@@ -69,9 +69,9 @@ class OAuth2ApiCallFlow
// Sub-classes can expose an appropriate observer interface by implementing
// these template methods.
// Called when the API call finished successfully.
- virtual void ProcessApiCallSuccess(const content::URLFetcher* source) = 0;
+ virtual void ProcessApiCallSuccess(const net::URLFetcher* source) = 0;
// Called when the API call failed.
- virtual void ProcessApiCallFailure(const content::URLFetcher* source) = 0;
+ virtual void ProcessApiCallFailure(const net::URLFetcher* source) = 0;
// Called when a new access token is generated.
virtual void ProcessNewAccessToken(const std::string& access_token) = 0;
virtual void ProcessMintAccessTokenFailure(
@@ -105,7 +105,7 @@ class OAuth2ApiCallFlow
// Helper methods to implement the state machine for the flow.
void BeginApiCall();
- void EndApiCall(const content::URLFetcher* source);
+ void EndApiCall(const net::URLFetcher* source);
void BeginMintAccessToken();
void EndMintAccessToken(const GoogleServiceAuthError* error);
« no previous file with comments | « chrome/common/net/gaia/oauth2_access_token_fetcher.cc ('k') | chrome/common/net/gaia/oauth2_api_call_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698