Index: chrome/common/net/gaia/gaia_oauth_client.h |
diff --git a/chrome/common/net/gaia/gaia_oauth_client.h b/chrome/common/net/gaia/gaia_oauth_client.h |
index 6a132acd20d2a47f125eba6f5b2579d2238eef21..e5156aff34d95c8f0b7c6ad691733306155a786f 100644 |
--- a/chrome/common/net/gaia/gaia_oauth_client.h |
+++ b/chrome/common/net/gaia/gaia_oauth_client.h |
@@ -30,8 +30,6 @@ class GaiaOAuthClient { |
public: |
class Delegate { |
public: |
- virtual ~Delegate() { } |
- |
// Invoked on a successful response to the GetTokensFromAuthCode request. |
virtual void OnGetTokensResponse(const std::string& refresh_token, |
const std::string& access_token, |
@@ -45,6 +43,9 @@ class GaiaOAuthClient { |
// response. This is invoked when the maximum number of retries have been |
// exhausted. If max_retries is -1, this is never invoked. |
virtual void OnNetworkError(int response_code) = 0; |
+ |
+ protected: |
+ virtual ~Delegate() {} |
}; |
GaiaOAuthClient(const std::string& gaia_url, |
net::URLRequestContextGetter* context_getter); |