| 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 49762facf170ce46388bc35ae72142dff4f2edb0..2e38f5b51368f410dad858aad4c74f5cbdf6913e 100644
|
| --- a/chrome/browser/sessions/base_session_service.h
|
| +++ b/chrome/browser/sessions/base_session_service.h
|
| @@ -125,6 +125,12 @@ class BaseSessionService : public CancelableRequestProvider,
|
| SessionID::id_type tab_id,
|
| const std::string& extension_id);
|
|
|
| + // Creates a SessionCommand stores a browser window's app name.
|
| + SessionCommand* CreateSetWindowAppNameCommand(
|
| + SessionID::id_type command_id,
|
| + SessionID::id_type window_id,
|
| + 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.
|
| @@ -140,6 +146,13 @@ class BaseSessionService : public CancelableRequestProvider,
|
| SessionID::id_type* tab_id,
|
| std::string* extension_app_id);
|
|
|
| + // Extracts a SessionCommand as previously created by
|
| + // CreateSetWindowAppNameCommand into the window id and application name.
|
| + bool RestoreSetWindowAppNameCommand(
|
| + const SessionCommand& command,
|
| + SessionID::id_type* window_id,
|
| + std::string* app_name);
|
| +
|
| // Returns true if the entry at specified |url| should be written to disk.
|
| bool ShouldTrackEntry(const GURL& url);
|
|
|
|
|