OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 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. |
| 4 |
| 5 // IPC messages for the AEC dump. |
| 6 // Multiply-included message file, hence no include guard. |
| 7 |
| 8 //#include "base/basictypes.h" |
| 9 //#include "base/sync_socket.h" |
| 10 #include "content/common/content_export.h" |
| 11 #include "ipc/ipc_message_macros.h" |
| 12 #include "ipc/ipc_platform_file.h" |
| 13 |
| 14 #undef IPC_MESSAGE_EXPORT |
| 15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 16 #define IPC_MESSAGE_START AecDumpMsgStart |
| 17 |
| 18 // Messages sent from the browser to the renderer. |
| 19 |
| 20 // The browser hands over a file handle to the consumer in the renderer |
| 21 // identified by |id| to use for AEC dump. |
| 22 IPC_MESSAGE_CONTROL2(AecDumpMsg_EnableAecDump, |
| 23 int /* id */, |
| 24 IPC::PlatformFileForTransit /* file_handle */) |
| 25 |
| 26 // Tell the renderer to disable AEC dump in all consumers. |
| 27 IPC_MESSAGE_CONTROL0(AecDumpMsg_DisableAecDump) |
| 28 |
| 29 // Messages sent from the renderer to the browser. |
| 30 |
| 31 // Registers a consumer with the browser. The consumer will then get a file |
| 32 // handle when the dump is enabled. |
| 33 IPC_MESSAGE_CONTROL1(AecDumpMsg_RegisterAecDumpConsumer, |
| 34 int /* id */) |
| 35 |
| 36 // Unregisters a consumer with the browser. |
| 37 IPC_MESSAGE_CONTROL1(AecDumpMsg_UnregisterAecDumpConsumer, |
| 38 int /* id */) |
OLD | NEW |