Index: content/common/media/aec_dump_messages.h |
diff --git a/content/common/media/aec_dump_messages.h b/content/common/media/aec_dump_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b4d13905b81d71f202f178e3e48adff7adc791b5 |
--- /dev/null |
+++ b/content/common/media/aec_dump_messages.h |
@@ -0,0 +1,38 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
no longer working on chromium
2014/06/16 18:30:55
ditto
Henrik Grunell
2014/06/17 20:21:41
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// IPC messages for the AEC dump. |
+// Multiply-included message file, hence no include guard. |
+ |
+//#include "base/basictypes.h" |
no longer working on chromium
2014/06/16 18:30:55
??
Henrik Grunell
2014/06/17 20:21:41
Removed.
|
+//#include "base/sync_socket.h" |
+#include "content/common/content_export.h" |
+#include "ipc/ipc_message_macros.h" |
+#include "ipc/ipc_platform_file.h" |
+ |
+#undef IPC_MESSAGE_EXPORT |
no longer working on chromium
2014/06/16 18:30:55
?? add comment if it is required.
Henrik Grunell
2014/06/17 20:21:41
Well, it's there in all other *messages.h files in
|
+#define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
+#define IPC_MESSAGE_START AecDumpMsgStart |
no longer working on chromium
2014/06/16 18:30:55
ditto
Henrik Grunell
2014/06/17 20:21:41
ditto
|
+ |
+// Messages sent from the browser to the renderer. |
+ |
+// The browser hands over a file handle to the consumer in the renderer |
+// identified by |id| to use for AEC dump. |
+IPC_MESSAGE_CONTROL2(AecDumpMsg_EnableAecDump, |
+ int /* id */, |
+ IPC::PlatformFileForTransit /* file_handle */) |
+ |
+// Tell the renderer to disable AEC dump in all consumers. |
+IPC_MESSAGE_CONTROL0(AecDumpMsg_DisableAecDump) |
+ |
+// Messages sent from the renderer to the browser. |
+ |
+// Registers a consumer with the browser. The consumer will then get a file |
+// handle when the dump is enabled. |
+IPC_MESSAGE_CONTROL1(AecDumpMsg_RegisterAecDumpConsumer, |
+ int /* id */) |
+ |
+// Unregisters a consumer with the browser. |
+IPC_MESSAGE_CONTROL1(AecDumpMsg_UnregisterAecDumpConsumer, |
+ int /* id */) |