Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / google_apis / gaia / merge_session_helper.h
index f13c49b..dfa58b1 100644 (file)
@@ -61,6 +61,9 @@ class MergeSessionHelper : public GaiaAuthConsumer,
   void LogOut(const std::string& account_id,
               const std::vector<std::string>& accounts);
 
+  // Signout all accounts.
+  void LogOutAllAccounts();
+
  private:
   // Overridden from UbertokenConsumer.
   virtual void OnUbertokenSuccess(const std::string& token) OVERRIDE;
@@ -71,6 +74,9 @@ class MergeSessionHelper : public GaiaAuthConsumer,
   virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error)
       OVERRIDE;
 
+  void LogOutInternal(const std::string& account_id,
+                      const std::vector<std::string>& accounts);
+
   // Starts the proess of fetching the uber token and performing a merge session
   // for the next account.  Virtual so that it can be overriden in tests.
   virtual void StartFetching();