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

Unified Diff: chrome/common/net/gaia/oauth2_mint_token_fetcher.cc

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/oauth2_mint_token_fetcher.h ('k') | chrome/common/net/gaia/oauth2_mint_token_flow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/oauth2_mint_token_fetcher.cc
diff --git a/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc b/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc
index e5738724c8df6d2ebd287fc8cccbddbe10d23ade..0ed97b6e29364a482cd3668398677a0fcd4259f9 100644
--- a/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc
+++ b/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc
@@ -109,7 +109,7 @@ void OAuth2MintTokenFetcher::StartMintToken() {
fetcher_->Start(); // OnURLFetchComplete will be called.
}
-void OAuth2MintTokenFetcher::EndMintToken(const URLFetcher* source) {
+void OAuth2MintTokenFetcher::EndMintToken(const net::URLFetcher* source) {
CHECK_EQ(MINT_TOKEN_STARTED, state_);
state_ = MINT_TOKEN_DONE;
@@ -143,7 +143,7 @@ void OAuth2MintTokenFetcher::OnMintTokenFailure(
consumer_->OnMintTokenFailure(error);
}
-void OAuth2MintTokenFetcher::OnURLFetchComplete(const URLFetcher* source) {
+void OAuth2MintTokenFetcher::OnURLFetchComplete(const net::URLFetcher* source) {
CHECK(source);
CHECK_EQ(MINT_TOKEN_STARTED, state_);
EndMintToken(source);
@@ -174,7 +174,7 @@ std::string OAuth2MintTokenFetcher::MakeMintTokenBody(
// static
bool OAuth2MintTokenFetcher::ParseMintTokenResponse(
- const URLFetcher* source,
+ const net::URLFetcher* source,
std::string* access_token) {
CHECK(source);
CHECK(access_token);
« no previous file with comments | « chrome/common/net/gaia/oauth2_mint_token_fetcher.h ('k') | chrome/common/net/gaia/oauth2_mint_token_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698