| Index: extensions/common/extension_messages.h
|
| diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h
|
| index 320bda7ac3622a32fcd3a76fae908b12b0f5ba33..b0a7d931c9a5803f65be9c6c5cf4655e15313321 100644
|
| --- a/extensions/common/extension_messages.h
|
| +++ b/extensions/common/extension_messages.h
|
| @@ -19,6 +19,7 @@
|
| #include "extensions/common/draggable_region.h"
|
| #include "extensions/common/extension.h"
|
| #include "extensions/common/extensions_client.h"
|
| +#include "extensions/common/features/feature_session_type.h"
|
| #include "extensions/common/host_id.h"
|
| #include "extensions/common/permissions/media_galleries_permission_data.h"
|
| #include "extensions/common/permissions/permission_set.h"
|
| @@ -46,6 +47,8 @@ IPC_ENUM_TRAITS_MAX_VALUE(extensions::UserScript::RunLocation,
|
|
|
| IPC_ENUM_TRAITS_MAX_VALUE(HostID::HostType, HostID::HOST_TYPE_LAST)
|
| IPC_ENUM_TRAITS_MAX_VALUE(version_info::Channel, version_info::Channel::STABLE)
|
| +IPC_ENUM_TRAITS_MAX_VALUE(extensions::FeatureSessionType,
|
| + extensions::FeatureSessionType::LAST)
|
|
|
| // Parameters structure for ExtensionHostMsg_AddAPIActionToActivityLog and
|
| // ExtensionHostMsg_AddEventToActivityLog.
|
| @@ -590,9 +593,11 @@ IPC_MESSAGE_ROUTED2(ExtensionMsg_DispatchOnDisconnect,
|
| int /* port_id */,
|
| std::string /* error_message */)
|
|
|
| -// Informs the renderer what channel (dev, beta, stable, etc) is running.
|
| -IPC_MESSAGE_CONTROL1(ExtensionMsg_SetChannel,
|
| - version_info::Channel /* channel */)
|
| +// Informs the renderer what channel (dev, beta, stable, etc) and user session
|
| +// type is running.
|
| +IPC_MESSAGE_CONTROL2(ExtensionMsg_SetSessionInfo,
|
| + version_info::Channel /* channel */,
|
| + extensions::FeatureSessionType /* session_type */)
|
|
|
| // Notify the renderer that its window has closed.
|
| IPC_MESSAGE_ROUTED0(ExtensionMsg_AppWindowClosed)
|
|
|