| 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 94ce78469492c5d8f4bb3e7fdc3e8aeb1b716865..3a35b77b8c906bcb310b4fb4e565c05513c2e87c 100644
|
| --- a/chrome/browser/sessions/base_session_service.h
|
| +++ b/chrome/browser/sessions/base_session_service.h
|
| @@ -125,6 +125,13 @@ class BaseSessionService : public CancelableRequestProvider,
|
| SessionID::id_type tab_id,
|
| const std::string& extension_id);
|
|
|
| + // Creates a SessionCommand that containing user agent override used by a
|
| + // tab's navigations.
|
| + SessionCommand* CreateSetTabUserAgentOverrideCommand(
|
| + SessionID::id_type command_id,
|
| + SessionID::id_type tab_id,
|
| + const std::string& user_agent_override);
|
| +
|
| // Creates a SessionCommand stores a browser window's app name.
|
| SessionCommand* CreateSetWindowAppNameCommand(
|
| SessionID::id_type command_id,
|
| @@ -147,6 +154,13 @@ class BaseSessionService : public CancelableRequestProvider,
|
| std::string* extension_app_id);
|
|
|
| // Extracts a SessionCommand as previously created by
|
| + // CreateSetTabUserAgentOverrideCommand into the tab id and user agent.
|
| + bool RestoreSetTabUserAgentOverrideCommand(
|
| + const SessionCommand& command,
|
| + SessionID::id_type* tab_id,
|
| + std::string* user_agent_override);
|
| +
|
| + // Extracts a SessionCommand as previously created by
|
| // CreateSetWindowAppNameCommand into the window id and application name.
|
| bool RestoreSetWindowAppNameCommand(
|
| const SessionCommand& command,
|
|
|