Index: chrome/browser/sessions/persistent_tab_restore_service.cc |
diff --git a/chrome/browser/sessions/persistent_tab_restore_service.cc b/chrome/browser/sessions/persistent_tab_restore_service.cc |
index d02f25ad807e0341d51aa0445374c5504bfa828d..0aa9c3c03bad8809137a64184b657e1d584ecd9f 100644 |
--- a/chrome/browser/sessions/persistent_tab_restore_service.cc |
+++ b/chrome/browser/sessions/persistent_tab_restore_service.cc |
@@ -942,10 +942,11 @@ const TabRestoreService::Entries& PersistentTabRestoreService::entries() const { |
return helper_.entries(); |
} |
-void PersistentTabRestoreService::RestoreMostRecentEntry( |
+std::vector<content::WebContents*> |
+PersistentTabRestoreService::RestoreMostRecentEntry( |
TabRestoreServiceDelegate* delegate, |
chrome::HostDesktopType host_desktop_type) { |
- helper_.RestoreMostRecentEntry(delegate, host_desktop_type); |
+ return helper_.RestoreMostRecentEntry(delegate, host_desktop_type); |
} |
TabRestoreService::Tab* PersistentTabRestoreService::RemoveTabEntryById( |
@@ -953,12 +954,13 @@ TabRestoreService::Tab* PersistentTabRestoreService::RemoveTabEntryById( |
return helper_.RemoveTabEntryById(id); |
} |
-void PersistentTabRestoreService::RestoreEntryById( |
- TabRestoreServiceDelegate* delegate, |
- SessionID::id_type id, |
- chrome::HostDesktopType host_desktop_type, |
- WindowOpenDisposition disposition) { |
- helper_.RestoreEntryById(delegate, id, host_desktop_type, disposition); |
+std::vector<content::WebContents*> |
+ PersistentTabRestoreService::RestoreEntryById( |
+ TabRestoreServiceDelegate* delegate, |
+ SessionID::id_type id, |
+ chrome::HostDesktopType host_desktop_type, |
+ WindowOpenDisposition disposition) { |
+ return helper_.RestoreEntryById(delegate, id, host_desktop_type, disposition); |
} |
bool PersistentTabRestoreService::IsLoaded() const { |