1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // IPC messages for the AEC dump.
6 // Multiply-included message file, hence no include guard.
8 #include "content/common/content_export.h"
9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_platform_file.h"
12 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
14 #define IPC_MESSAGE_START AecDumpMsgStart
16 // Messages sent from the browser to the renderer.
18 // The browser hands over a file handle to the consumer in the renderer
19 // identified by |id| to use for AEC dump.
20 IPC_MESSAGE_CONTROL2(AecDumpMsg_EnableAecDump
,
22 IPC::PlatformFileForTransit
/* file_handle */)
24 // Tell the renderer to disable AEC dump in all consumers.
25 IPC_MESSAGE_CONTROL0(AecDumpMsg_DisableAecDump
)
27 // Messages sent from the renderer to the browser.
29 // Registers a consumer with the browser. The consumer will then get a file
30 // handle when the dump is enabled.
31 IPC_MESSAGE_CONTROL1(AecDumpMsg_RegisterAecDumpConsumer
,
34 // Unregisters a consumer with the browser.
35 IPC_MESSAGE_CONTROL1(AecDumpMsg_UnregisterAecDumpConsumer
,