Index: chrome/browser/sessions/base_session_service.h |
diff --git a/chrome/browser/sessions/base_session_service.h b/chrome/browser/sessions/base_session_service.h |
index 1d3fac2476d00df0eff6833e5747de50347545f0..2e7b25809820a9ed1a022db44199c5f4073254b9 100644 |
--- a/chrome/browser/sessions/base_session_service.h |
+++ b/chrome/browser/sessions/base_session_service.h |
@@ -21,7 +21,10 @@ |
class Profile; |
class SessionBackend; |
class SessionCommand; |
-class TabNavigation; |
+ |
+namespace sessions { |
+class SerializedNavigationEntry; |
+} |
// BaseSessionService is the super class of both tab restore service and |
// session service. It contains commonality needed by both, in particular |
@@ -89,7 +92,7 @@ class BaseSessionService : public CancelableRequestProvider { |
SessionCommand* CreateUpdateTabNavigationCommand( |
SessionID::id_type command_id, |
SessionID::id_type tab_id, |
- const TabNavigation& navigation); |
+ const sessions::SerializedNavigationEntry& navigation); |
// Creates a SessionCommand that represents marking a tab as an application. |
SessionCommand* CreateSetTabExtensionAppIDCommand( |
@@ -111,11 +114,13 @@ class BaseSessionService : public CancelableRequestProvider { |
const std::string& app_name); |
// Converts a SessionCommand previously created by |
- // CreateUpdateTabNavigationCommand into a TabNavigation. Returns true |
- // on success. If successful |tab_id| is set to the id of the restored tab. |
- bool RestoreUpdateTabNavigationCommand(const SessionCommand& command, |
- TabNavigation* navigation, |
- SessionID::id_type* tab_id); |
+ // CreateUpdateTabNavigationCommand into a |
+ // sessions::SerializedNavigationEntry. Returns true on success. If |
+ // successful |tab_id| is set to the id of the restored tab. |
+ bool RestoreUpdateTabNavigationCommand( |
+ const SessionCommand& command, |
+ sessions::SerializedNavigationEntry* navigation, |
+ SessionID::id_type* tab_id); |
// Extracts a SessionCommand as previously created by |
// CreateSetTabExtensionAppIDCommand into the tab id and application |