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

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

Issue 1321713005: Abstract WebContents/NavigationController from core TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix 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/persistent_tab_restore_service.h
diff --git a/chrome/browser/sessions/persistent_tab_restore_service.h b/chrome/browser/sessions/persistent_tab_restore_service.h
index 0c5ddc022bb945754f02ea98298783174f755cb9..a0d67e2d9f1c537135c445c7a464e1d9ea93e82e 100644
--- a/chrome/browser/sessions/persistent_tab_restore_service.h
+++ b/chrome/browser/sessions/persistent_tab_restore_service.h
@@ -27,16 +27,16 @@ class PersistentTabRestoreService : public TabRestoreService {
// TabRestoreService:
void AddObserver(TabRestoreServiceObserver* observer) override;
void RemoveObserver(TabRestoreServiceObserver* observer) override;
- void CreateHistoricalTab(content::WebContents* contents, int index) override;
+ void CreateHistoricalTab(sessions::OpenTab* open_tab, int index) override;
void BrowserClosing(TabRestoreServiceDelegate* delegate) override;
void BrowserClosed(TabRestoreServiceDelegate* delegate) override;
void ClearEntries() override;
const Entries& entries() const override;
- std::vector<content::WebContents*> RestoreMostRecentEntry(
+ std::vector<sessions::OpenTab*> RestoreMostRecentEntry(
TabRestoreServiceDelegate* delegate,
int host_desktop_type) override;
Tab* RemoveTabEntryById(SessionID::id_type id) override;
- std::vector<content::WebContents*> RestoreEntryById(
+ std::vector<sessions::OpenTab*> RestoreEntryById(
TabRestoreServiceDelegate* delegate,
SessionID::id_type id,
int host_desktop_type,

Powered by Google App Engine
This is Rietveld 408576698