Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / push_messaging / push_messaging_api.h
index 8b02af2..0b5884b 100644 (file)
@@ -27,10 +27,6 @@ namespace content {
 class BrowserContext;
 }
 
-namespace invalidation {
-class InvalidationAuthProvider;
-}
-
 namespace extensions {
 
 class PushMessagingInvalidationMapper;
@@ -70,7 +66,7 @@ class PushMessagingGetChannelIdFunction
   virtual ~PushMessagingGetChannelIdFunction();
 
   // ExtensionFunction:
-  virtual bool RunImpl() OVERRIDE;
+  virtual bool RunAsync() OVERRIDE;
   DECLARE_EXTENSION_FUNCTION("pushMessaging.getChannelId",
                              PUSHMESSAGING_GETCHANNELID)
 
@@ -99,18 +95,12 @@ class PushMessagingGetChannelIdFunction
       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_;