Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: content/common/media/aec_dump_messages.h

Issue 1855193002: Move the call to enable the WebRTC event log from PeerConnectionFactory to PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduced WebRTCCallbackInterface. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for the AEC dump. 5 // IPC messages for the AEC dump.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_platform_file.h" 10 #include "ipc/ipc_platform_file.h"
11 11
12 #undef IPC_MESSAGE_EXPORT 12 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
14 #define IPC_MESSAGE_START AecDumpMsgStart 14 #define IPC_MESSAGE_START AecDumpMsgStart
15 15
16 // Messages sent from the browser to the renderer. 16 // Messages sent from the browser to the renderer.
17 17
18 // The browser hands over a file handle to the consumer in 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. 19 // identified by |id| to use for AEC dump.
20 IPC_MESSAGE_CONTROL2(AecDumpMsg_EnableAecDump, 20 IPC_MESSAGE_CONTROL2(AecDumpMsg_EnableAecDump,
21 int /* id */, 21 int /* id */,
22 IPC::PlatformFileForTransit /* file_handle */) 22 IPC::PlatformFileForTransit /* file_handle */)
23 23
24 // The browser hands over a file handle to the consumer in the renderer
25 // identified by |id| to use for the event log.
26 IPC_MESSAGE_CONTROL2(WebRTCEventLogMsg_EnableEventLog,
27 int /* id */,
28 IPC::PlatformFileForTransit /* file_handle */)
29
30 // Tell the renderer to disable AEC dump in all consumers. 24 // Tell the renderer to disable AEC dump in all consumers.
31 IPC_MESSAGE_CONTROL0(AecDumpMsg_DisableAecDump) 25 IPC_MESSAGE_CONTROL0(AecDumpMsg_DisableAecDump)
32 26
33 // Tell the renderer to disable event log in all consumers.
34 IPC_MESSAGE_CONTROL0(WebRTCEventLogMsg_DisableEventLog)
35
36 // Messages sent from the renderer to the browser. 27 // Messages sent from the renderer to the browser.
37 28
38 // Registers a consumer with the browser. The consumer will then get a file 29 // Registers a consumer with the browser. The consumer will then get a file
39 // handle when the dump is enabled. 30 // handle when the dump is enabled.
40 IPC_MESSAGE_CONTROL1(AecDumpMsg_RegisterAecDumpConsumer, 31 IPC_MESSAGE_CONTROL1(AecDumpMsg_RegisterAecDumpConsumer,
41 int /* id */) 32 int /* id */)
42 33
43 // Registers a consumer with the browser. The consumer will then get a file
44 // handle when the dump is enabled.
45 IPC_MESSAGE_CONTROL1(WebRTCEventLogMsg_RegisterEventLogConsumer, int /* id */)
46
47 // Unregisters a consumer with the browser. 34 // Unregisters a consumer with the browser.
48 IPC_MESSAGE_CONTROL1(AecDumpMsg_UnregisterAecDumpConsumer, 35 IPC_MESSAGE_CONTROL1(AecDumpMsg_UnregisterAecDumpConsumer,
49 int /* id */) 36 int /* id */)
50
51 // Unregisters a consumer with the browser.
52 IPC_MESSAGE_CONTROL1(WebRTCEventLogMsg_UnregisterEventLogConsumer, int /* id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698