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