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

Unified Diff: chrome/common/net/gaia/gaia_oauth_client.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/gaia_auth_fetcher.cc ('k') | chrome/common/net/gaia/oauth2_access_token_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/gaia_oauth_client.cc
diff --git a/chrome/common/net/gaia/gaia_oauth_client.cc b/chrome/common/net/gaia/gaia_oauth_client.cc
index d657b3fa5e6c300d2ac5221aaabaac104764fa2d..375850021c3c9b783a582927a6e9877fc3f95069 100644
--- a/chrome/common/net/gaia/gaia_oauth_client.cc
+++ b/chrome/common/net/gaia/gaia_oauth_client.cc
@@ -44,7 +44,7 @@ class GaiaOAuthClient::Core
GaiaOAuthClient::Delegate* delegate);
// content::URLFetcherDelegate implementation.
- virtual void OnURLFetchComplete(const content::URLFetcher* source);
+ virtual void OnURLFetchComplete(const net::URLFetcher* source);
private:
friend class base::RefCountedThreadSafe<Core>;
@@ -53,7 +53,7 @@ class GaiaOAuthClient::Core
void MakeGaiaRequest(std::string post_body,
int max_retries,
GaiaOAuthClient::Delegate* delegate);
- void HandleResponse(const content::URLFetcher* source,
+ void HandleResponse(const net::URLFetcher* source,
bool* should_retry_request);
GURL gaia_url_;
@@ -110,7 +110,7 @@ void GaiaOAuthClient::Core::MakeGaiaRequest(
// URLFetcher::Delegate implementation.
void GaiaOAuthClient::Core::OnURLFetchComplete(
- const content::URLFetcher* source) {
+ const net::URLFetcher* source) {
bool should_retry = false;
HandleResponse(source, &should_retry);
if (should_retry) {
@@ -130,7 +130,7 @@ void GaiaOAuthClient::Core::OnURLFetchComplete(
}
void GaiaOAuthClient::Core::HandleResponse(
- const content::URLFetcher* source,
+ const net::URLFetcher* source,
bool* should_retry_request) {
*should_retry_request = false;
// RC_BAD_REQUEST means the arguments are invalid. No point retrying. We are
« no previous file with comments | « chrome/common/net/gaia/gaia_auth_fetcher.cc ('k') | chrome/common/net/gaia/oauth2_access_token_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698