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

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: 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/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..70ddb32ee8e5dcf27f1b573b24251b45f93fda15 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::LiveTab* live_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::LiveTab*> RestoreMostRecentEntry(
TabRestoreServiceDelegate* delegate,
int host_desktop_type) override;
Tab* RemoveTabEntryById(SessionID::id_type id) override;
- std::vector<content::WebContents*> RestoreEntryById(
+ std::vector<sessions::LiveTab*> RestoreEntryById(
TabRestoreServiceDelegate* delegate,
SessionID::id_type id,
int host_desktop_type,
« no previous file with comments | « chrome/browser/sessions/in_memory_tab_restore_service.cc ('k') | chrome/browser/sessions/persistent_tab_restore_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698