Index: extensions/common/extension_messages.h |
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h |
index 320bda7ac3622a32fcd3a76fae908b12b0f5ba33..fa45db22f324d0844c97ffdf3e27b3a0f2e4c528 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.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::Feature::SessionType, |
+ extensions::Feature::SESSION_TYPE_MAX) |
// Parameters structure for ExtensionHostMsg_AddAPIActionToActivityLog and |
// ExtensionHostMsg_AddEventToActivityLog. |
@@ -616,6 +619,11 @@ IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs, |
IPC_MESSAGE_CONTROL1(ExtensionMsg_SetWebViewPartitionID, |
std::string /* webview_partition_id */) |
+// Sent on renderer process startup to indicate the user session type in which |
+// the process is running. |
+IPC_MESSAGE_CONTROL1(ExtensionMsg_SetUserSessionType, |
+ extensions::Feature::SessionType) |
+ |
// Messages sent from the renderer to the browser: |
// A renderer sends this message when an extension process starts an API |