Index: chrome/common/net/gaia/oauth2_access_token_consumer.h |
diff --git a/chrome/common/net/gaia/oauth2_access_token_consumer.h b/chrome/common/net/gaia/oauth2_access_token_consumer.h |
index cf7eb343a7f70cef24b2c10bafd7b728150790be..02998243359065d66a31f9f636a46522ccbaf9e2 100644 |
--- a/chrome/common/net/gaia/oauth2_access_token_consumer.h |
+++ b/chrome/common/net/gaia/oauth2_access_token_consumer.h |
@@ -14,10 +14,11 @@ class GoogleServiceAuthError; |
// OAuth2AccessTokenFetcher can return results. |
class OAuth2AccessTokenConsumer { |
public: |
- virtual ~OAuth2AccessTokenConsumer() {} |
- |
virtual void OnGetTokenSuccess(const std::string& access_token) {} |
virtual void OnGetTokenFailure(const GoogleServiceAuthError& error) {} |
+ |
+ protected: |
+ virtual ~OAuth2AccessTokenConsumer() {} |
}; |
#endif // CHROME_COMMON_NET_GAIA_OAUTH2_ACCESS_TOKEN_CONSUMER_H_ |