| 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
|
|
|