Chromium Code Reviews| 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..474d9cbddc7adb4a38f2fe95be1354a26def6dbd 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( |
| - TabRestoreServiceDelegate* delegate, |
| - chrome::HostDesktopType host_desktop_type) { |
| - helper_.RestoreMostRecentEntry(delegate, host_desktop_type); |
| +std::vector<content::WebContents*> |
| + PersistentTabRestoreService::RestoreMostRecentEntry( |
|
sky
2013/08/05 16:16:17
nit: don't indent this 4. Either none or 2 (not su
Kristen Dwan
2013/08/05 18:01:38
Done.
|
| + TabRestoreServiceDelegate* delegate, |
| + chrome::HostDesktopType 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 { |