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

Unified Diff: chrome/browser/extensions/api/identity/identity_api.h

Issue 10071035: RefCounted types should not have public destructors, chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix Created 8 years, 8 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
Index: chrome/browser/extensions/api/identity/identity_api.h
diff --git a/chrome/browser/extensions/api/identity/identity_api.h b/chrome/browser/extensions/api/identity/identity_api.h
index 636f830845a2a01dbd406a84f1f4181e736d01f9..db0fde1c4f2ba15e11c123d0a9cfac7d7d6dedac 100644
--- a/chrome/browser/extensions/api/identity/identity_api.h
+++ b/chrome/browser/extensions/api/identity/identity_api.h
@@ -20,10 +20,14 @@ namespace extensions {
class GetAuthTokenFunction : public AsyncExtensionFunction,
public OAuth2MintTokenFlow::Delegate {
public:
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.identity.getAuthToken");
+
GetAuthTokenFunction();
private:
virtual ~GetAuthTokenFunction();
+
+ // ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
// OAuth2MintTokenFlow::Delegate implementation:
@@ -31,8 +35,6 @@ class GetAuthTokenFunction : public AsyncExtensionFunction,
virtual void OnMintTokenFailure(const GoogleServiceAuthError& error) OVERRIDE;
scoped_ptr<OAuth2MintTokenFlow> flow_;
-
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.identity.getAuthToken");
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698