Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: chrome/browser/sessions/chrome_tab_restore_service_client.h

Issue 1321713005: Abstract WebContents/NavigationController from core TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sessions/chrome_tab_restore_service_client.h
diff --git a/chrome/browser/sessions/chrome_tab_restore_service_client.h b/chrome/browser/sessions/chrome_tab_restore_service_client.h
index 4680d2fff39c0e1003f1b444c4333f629e0f35fd..4bd2c421a9ed89afb625837ba275c4750dd9250a 100644
--- a/chrome/browser/sessions/chrome_tab_restore_service_client.h
+++ b/chrome/browser/sessions/chrome_tab_restore_service_client.h
@@ -22,16 +22,15 @@ class ChromeTabRestoreServiceClient : public sessions::TabRestoreServiceClient {
TabRestoreServiceDelegate* CreateTabRestoreServiceDelegate(
int host_desktop_type,
const std::string& app_name) override;
- TabRestoreServiceDelegate* FindTabRestoreServiceDelegateForWebContents(
- const content::WebContents* contents) override;
+ TabRestoreServiceDelegate* FindTabRestoreServiceDelegateForTab(
+ const sessions::LiveTab* tab) override;
TabRestoreServiceDelegate* FindTabRestoreServiceDelegateWithID(
SessionID::id_type desired_id,
int host_desktop_type) override;
bool ShouldTrackURLForRestore(const GURL& url) override;
- std::string GetExtensionAppIDForWebContents(
- content::WebContents* web_contents) override;
- scoped_ptr<sessions::TabClientData> GetTabClientDataForWebContents(
- content::WebContents* web_contents) override;
+ std::string GetExtensionAppIDForTab(sessions::LiveTab* tab) override;
+ scoped_ptr<sessions::TabClientData> GetTabClientDataForTab(
+ sessions::LiveTab* tab) override;
base::SequencedWorkerPool* GetBlockingPool() override;
base::FilePath GetPathToSaveTo() override;
GURL GetNewTabURL() override;
« no previous file with comments | « chrome/browser/extensions/api/sessions/sessions_api.cc ('k') | chrome/browser/sessions/chrome_tab_restore_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698