| 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 9d60a66ac26b4cc80a94902db73e903aa97f2ec6..ac4769c06fb4e7ac8348ce50dbcba762d762ef69 100644
|
| --- a/chrome/browser/extensions/api/identity/identity_api.h
|
| +++ b/chrome/browser/extensions/api/identity/identity_api.h
|
| @@ -8,6 +8,7 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/extensions/api/identity/web_auth_flow.h"
|
| #include "chrome/browser/extensions/app_notify_channel_setup.h"
|
| @@ -34,8 +35,9 @@ class GetAuthTokenFunction : public AsyncExtensionFunction,
|
| // OAuth2MintTokenFlow::Delegate implementation:
|
| virtual void OnMintTokenSuccess(const std::string& access_token) OVERRIDE;
|
| virtual void OnMintTokenFailure(const GoogleServiceAuthError& error) OVERRIDE;
|
| + virtual void OnIssueAdviceSuccess(const IssueAdviceInfo& issues) OVERRIDE;
|
|
|
| - scoped_ptr<OAuth2MintTokenFlow> flow_;
|
| + scoped_refptr<OAuth2MintTokenFlow> flow_;
|
| };
|
|
|
| class LaunchWebAuthFlowFunction : public AsyncExtensionFunction,
|
|
|