We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / content / common / media / aec_dump_messages.h
blob0f98f27233403eba6daaa1d09193303f4a372285
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,
21 int /* id */,
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,
32 int /* id */)
34 // Unregisters a consumer with the browser.
35 IPC_MESSAGE_CONTROL1(AecDumpMsg_UnregisterAecDumpConsumer,
36 int /* id */)