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

Unified Diff: chrome/common/net/gaia/oauth2_access_token_fetcher.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
« no previous file with comments | « chrome/common/net/gaia/gaia_oauth_client.cc ('k') | chrome/common/net/gaia/oauth2_access_token_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/oauth2_access_token_fetcher.h
diff --git a/chrome/common/net/gaia/oauth2_access_token_fetcher.h b/chrome/common/net/gaia/oauth2_access_token_fetcher.h
index 0396ef80e477cc8593ebf4eae51aad62069256f2..ce5e5dd2294654d1bca6d36e4c24b190ceb2d39e 100644
--- a/chrome/common/net/gaia/oauth2_access_token_fetcher.h
+++ b/chrome/common/net/gaia/oauth2_access_token_fetcher.h
@@ -60,7 +60,7 @@ class OAuth2AccessTokenFetcher : public content::URLFetcherDelegate {
void CancelRequest();
// Implementation of content::URLFetcherDelegate
- virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE;
+ virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
private:
enum State {
@@ -72,7 +72,7 @@ class OAuth2AccessTokenFetcher : public content::URLFetcherDelegate {
// Helper methods for the flow.
void StartGetAccessToken();
- void EndGetAccessToken(const content::URLFetcher* source);
+ void EndGetAccessToken(const net::URLFetcher* source);
// Helper mehtods for reporting back results.
void OnGetTokenSuccess(const std::string& access_token);
@@ -85,7 +85,7 @@ class OAuth2AccessTokenFetcher : public content::URLFetcherDelegate {
const std::string& client_secret,
const std::string& refresh_token,
const std::vector<std::string>& scopes);
- static bool ParseGetAccessTokenResponse(const content::URLFetcher* source,
+ static bool ParseGetAccessTokenResponse(const net::URLFetcher* source,
std::string* access_token);
// State that is set during construction.
« no previous file with comments | « chrome/common/net/gaia/gaia_oauth_client.cc ('k') | chrome/common/net/gaia/oauth2_access_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698