| 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 eb4179dda5ddef7220e43b7d51cc26b34a6908c1..d657b3fa5e6c300d2ac5221aaabaac104764fa2d 100644
|
| --- a/chrome/common/net/gaia/gaia_oauth_client.cc
|
| +++ b/chrome/common/net/gaia/gaia_oauth_client.cc
|
| @@ -34,8 +34,6 @@ class GaiaOAuthClient::Core
|
| request_context_getter_(request_context_getter),
|
| delegate_(NULL) {}
|
|
|
| - virtual ~Core() { }
|
| -
|
| void GetTokensFromAuthCode(const OAuthClientInfo& oauth_client_info,
|
| const std::string& auth_code,
|
| int max_retries,
|
| @@ -49,6 +47,9 @@ class GaiaOAuthClient::Core
|
| virtual void OnURLFetchComplete(const content::URLFetcher* source);
|
|
|
| private:
|
| + friend class base::RefCountedThreadSafe<Core>;
|
| + virtual ~Core() {}
|
| +
|
| void MakeGaiaRequest(std::string post_body,
|
| int max_retries,
|
| GaiaOAuthClient::Delegate* delegate);
|
|
|