| 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..8cf87d166c5047dd89d51552183783657ced9f22 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 components {
|
| +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 components::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
|
| + // components::SerializedNavigationEntry. Returns true on success. If
|
| + // successful |tab_id| is set to the id of the restored tab.
|
| + bool RestoreUpdateTabNavigationCommand(
|
| + const SessionCommand& command,
|
| + components::SerializedNavigationEntry* navigation,
|
| + SessionID::id_type* tab_id);
|
|
|
| // Extracts a SessionCommand as previously created by
|
| // CreateSetTabExtensionAppIDCommand into the tab id and application
|
|
|