class BrowserContext;
}
-namespace invalidation {
-class InvalidationAuthProvider;
-}
-
namespace extensions {
class PushMessagingInvalidationMapper;
virtual ~PushMessagingGetChannelIdFunction();
// ExtensionFunction:
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
DECLARE_EXTENSION_FUNCTION("pushMessaging.getChannelId",
PUSHMESSAGING_GETCHANNELID)
const OAuth2TokenService::Request* request,
const GoogleServiceAuthError& error) OVERRIDE;
- // Check if the user is signed into chrome.
- bool IsUserLoggedIn();
-
// ObfuscatedGiaiaIdFetcher::Delegate implementation.
virtual void OnObfuscatedGaiaIdFetchSuccess(const std::string& gaia_id)
OVERRIDE;
virtual void OnObfuscatedGaiaIdFetchFailure(
const GoogleServiceAuthError& error) OVERRIDE;
- // Convenience helper to get the invalidation auth provider.
- invalidation::InvalidationAuthProvider* GetInvalidationAuthProvider();
-
scoped_ptr<ObfuscatedGaiaIdFetcher> fetcher_;
bool interactive_;
scoped_ptr<OAuth2TokenService::Request> fetcher_access_token_request_;