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

Unified Diff: chrome/common/net/gaia/oauth2_mint_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
Index: chrome/common/net/gaia/oauth2_mint_token_fetcher.h
diff --git a/chrome/common/net/gaia/oauth2_mint_token_fetcher.h b/chrome/common/net/gaia/oauth2_mint_token_fetcher.h
index b7aec3131a204ca0c38981c756dbbefd6ac8facf..e709a7a2dc89179694b973dbe1e44d122be34cbf 100644
--- a/chrome/common/net/gaia/oauth2_mint_token_fetcher.h
+++ b/chrome/common/net/gaia/oauth2_mint_token_fetcher.h
@@ -55,7 +55,7 @@ class OAuth2MintTokenFetcher : 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 {
@@ -67,7 +67,7 @@ class OAuth2MintTokenFetcher : public content::URLFetcherDelegate {
// Helper methods for the flow.
void StartMintToken();
- void EndMintToken(const content::URLFetcher* source);
+ void EndMintToken(const net::URLFetcher* source);
// Helper methods for reporting back results.
void OnMintTokenSuccess(const std::string& access_token);
@@ -79,7 +79,7 @@ class OAuth2MintTokenFetcher : public content::URLFetcherDelegate {
static std::string MakeMintTokenBody(const std::string& client_id,
const std::vector<std::string>& scopes,
const std::string& origin);
- static bool ParseMintTokenResponse(const content::URLFetcher* source,
+ static bool ParseMintTokenResponse(const net::URLFetcher* source,
std::string* access_token);
// State that is set during construction.
« no previous file with comments | « chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc ('k') | chrome/common/net/gaia/oauth2_mint_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698