| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_SESSIONS_CHROME_TAB_RESTORE_SERVICE_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_CHROME_TAB_RESTORE_SERVICE_CLIENT_H_ |
| 6 #define CHROME_BROWSER_SESSIONS_CHROME_TAB_RESTORE_SERVICE_CLIENT_H_ | 6 #define CHROME_BROWSER_SESSIONS_CHROME_TAB_RESTORE_SERVICE_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "components/sessions/core/tab_restore_service_client.h" | 9 #include "components/sessions/core/tab_restore_service_client.h" |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 int host_desktop_type, | 23 int host_desktop_type, |
| 24 const std::string& app_name) override; | 24 const std::string& app_name) override; |
| 25 TabRestoreServiceDelegate* FindTabRestoreServiceDelegateForWebContents( | 25 TabRestoreServiceDelegate* FindTabRestoreServiceDelegateForWebContents( |
| 26 const content::WebContents* contents) override; | 26 const content::WebContents* contents) override; |
| 27 TabRestoreServiceDelegate* FindTabRestoreServiceDelegateWithID( | 27 TabRestoreServiceDelegate* FindTabRestoreServiceDelegateWithID( |
| 28 SessionID::id_type desired_id, | 28 SessionID::id_type desired_id, |
| 29 int host_desktop_type) override; | 29 int host_desktop_type) override; |
| 30 bool ShouldTrackURLForRestore(const GURL& url) override; | 30 bool ShouldTrackURLForRestore(const GURL& url) override; |
| 31 std::string GetExtensionAppIDForWebContents( | 31 std::string GetExtensionAppIDForWebContents( |
| 32 content::WebContents* web_contents) override; | 32 content::WebContents* web_contents) override; |
| 33 scoped_ptr<sessions::TabClientData> GetTabClientDataForWebContents( |
| 34 content::WebContents* web_contents) override; |
| 33 base::SequencedWorkerPool* GetBlockingPool() override; | 35 base::SequencedWorkerPool* GetBlockingPool() override; |
| 34 base::FilePath GetPathToSaveTo() override; | 36 base::FilePath GetPathToSaveTo() override; |
| 35 GURL GetNewTabURL() override; | 37 GURL GetNewTabURL() override; |
| 36 bool HasLastSession() override; | 38 bool HasLastSession() override; |
| 37 void GetLastSession(const sessions::GetLastSessionCallback& callback, | 39 void GetLastSession(const sessions::GetLastSessionCallback& callback, |
| 38 base::CancelableTaskTracker* tracker) override; | 40 base::CancelableTaskTracker* tracker) override; |
| 39 void OnTabRestored(const GURL& url) override; | 41 void OnTabRestored(const GURL& url) override; |
| 40 | 42 |
| 41 Profile* profile_; | 43 Profile* profile_; |
| 42 | 44 |
| 43 DISALLOW_COPY_AND_ASSIGN(ChromeTabRestoreServiceClient); | 45 DISALLOW_COPY_AND_ASSIGN(ChromeTabRestoreServiceClient); |
| 44 }; | 46 }; |
| 45 | 47 |
| 46 #endif // CHROME_BROWSER_SESSIONS_CHROME_TAB_RESTORE_SERVICE_CLIENT_H_ | 48 #endif // CHROME_BROWSER_SESSIONS_CHROME_TAB_RESTORE_SERVICE_CLIENT_H_ |
| OLD | NEW |