Commit 3c541e65 authored by Colin Blundell's avatar Colin Blundell Committed by Commit Bot

[IPC] Remove no-longer-needed *MsgStart defines

Part of the elimination of the legacy IPC system.

Bug: 1007300
Change-Id: Ia0f3a49c09156d5a66cf8b7075c08f954d78e8ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1833822
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Reviewed-by: default avatarJochen Eisinger <jochen@chromium.org>
Reviewed-by: default avatarMike West <mkwst@chromium.org>
Reviewed-by: default avatarDave Tapuska <dtapuska@chromium.org>
Reviewed-by: default avatarMartin Barbella <mbarbella@chromium.org>
Cr-Commit-Position: refs/heads/master@{#703630}
parent c43246b2
......@@ -8,8 +8,6 @@
#include "chrome/common/apps/platform_apps/media_galleries_permission_data.h"
#include "ipc/ipc_message_macros.h"
#define IPC_MESSAGE_START ChromeAppsMsgStart
IPC_STRUCT_TRAITS_BEGIN(chrome_apps::MediaGalleriesPermissionData)
IPC_STRUCT_TRAITS_MEMBER(permission())
IPC_STRUCT_TRAITS_END()
......
......@@ -29,10 +29,6 @@
#endif // INTERNAL_CONTENT_COMMON_RESOURCE_MESSAGES_H_
#define IPC_MESSAGE_START ResourceMsgStart
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMixedContentContextType,
blink::WebMixedContentContextType::kLast)
......
......@@ -24,7 +24,6 @@ enum IPCMessageStart {
GpuChannelMsgStart,
MediaMsgStart,
PpapiMsgStart,
ResourceMsgStart,
ChromeMsgStart,
DragMsgStart,
PrintMsgStart,
......@@ -36,9 +35,7 @@ enum IPCMessageStart {
ChromotingMsgStart,
BrowserPluginMsgStart,
AndroidWebViewMsgStart,
MediaPlayerMsgStart,
PeerConnectionTrackerMsgStart,
WebRtcLoggingMsgStart,
NaClHostMsgStart,
EncryptedMediaMsgStart,
CastMsgStart,
......@@ -48,7 +45,6 @@ enum IPCMessageStart {
WebTestMsgStart,
NetworkHintsMsgStart,
CastMediaMsgStart,
SyncCompositorMsgStart,
ExtensionsGuestViewMsgStart,
GuestViewMsgStart,
// Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast
......@@ -60,7 +56,6 @@ enum IPCMessageStart {
SurfaceViewManagerMsgStart,
ExtensionWorkerMsgStart,
SubresourceFilterMsgStart,
ChromeAppsMsgStart,
UnfreezableFrameMsgStart,
LastIPCMsgStart // Must come last.
};
......
......@@ -54,9 +54,7 @@ static bool check_msgtable() {
exemptions.push_back(CastMediaMsgStart); // Reserved for chromecast.
exemptions.push_back(IPCTestMsgStart);
exemptions.push_back(WorkerMsgStart); // Now only used by tests.
exemptions.push_back(ResourceMsgStart); // Cleanup underway.
exemptions.push_back(ChromeUtilityPrintingMsgStart); // BUILDFLAGS, sigh.
exemptions.push_back(WebRtcLoggingMsgStart);
#if !BUILDFLAG(ENABLE_NACL)
exemptions.push_back(NaClMsgStart);
......@@ -64,11 +62,9 @@ static bool check_msgtable() {
#if !defined(OS_ANDROID)
exemptions.push_back(MediaPlayerMsgStart);
exemptions.push_back(EncryptedMediaMsgStart);
exemptions.push_back(GinJavaBridgeMsgStart);
exemptions.push_back(AndroidWebViewMsgStart);
exemptions.push_back(SyncCompositorMsgStart);
exemptions.push_back(ExtensionWorkerMsgStart);
exemptions.push_back(SurfaceViewManagerMsgStart);
#endif // !defined(OS_ANDROID)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment