Index: chrome/browser/sessions/tab_restore_service_delegate.h |
diff --git a/chrome/browser/sessions/tab_restore_service_delegate.h b/chrome/browser/sessions/tab_restore_service_delegate.h |
index f00c8c0dfde7a823427659deaf08635995bf9c3c..3a795677ed7bd30dec86cf8dbc17cd148f016080 100644 |
--- a/chrome/browser/sessions/tab_restore_service_delegate.h |
+++ b/chrome/browser/sessions/tab_restore_service_delegate.h |
@@ -13,7 +13,6 @@ |
#include "chrome/browser/ui/host_desktop.h" |
class Profile; |
-class TabNavigation; |
namespace content { |
class NavigationController; |
@@ -21,6 +20,10 @@ class SessionStorageNamespace; |
class WebContents; |
} |
+namespace sessions { |
+class SerializedNavigationEntry; |
+} |
+ |
// Objects implement this interface to provide necessary functionality for |
// TabRestoreService to operate. These methods are mostly copies of existing |
// Browser methods. |
@@ -46,7 +49,7 @@ class TabRestoreServiceDelegate { |
virtual content::WebContents* GetActiveWebContents() const = 0; |
virtual bool IsTabPinned(int index) const = 0; |
virtual content::WebContents* AddRestoredTab( |
- const std::vector<TabNavigation>& navigations, |
+ const std::vector<sessions::SerializedNavigationEntry>& navigations, |
int tab_index, |
int selected_navigation, |
const std::string& extension_app_id, |
@@ -56,7 +59,7 @@ class TabRestoreServiceDelegate { |
content::SessionStorageNamespace* storage_namespace, |
const std::string& user_agent_override) = 0; |
virtual void ReplaceRestoredTab( |
- const std::vector<TabNavigation>& navigations, |
+ const std::vector<sessions::SerializedNavigationEntry>& navigations, |
int selected_navigation, |
bool from_last_session, |
const std::string& extension_app_id, |