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

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

Issue 1246283003: Split out audio debug recording from RenderProcessHostImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 2 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
(Empty)
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.
4
5 // IPC messages for the AEC dump.
6 // Multiply-included message file, hence no include guard.
7
8 #include "content/common/content_export.h"
9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_platform_file.h"
11
12 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
14 #define IPC_MESSAGE_START AecDumpMsgStart
15
16 // Messages sent from the browser to the renderer.
17
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 */)
23
24 // Tell the renderer to disable AEC dump in all consumers.
25 IPC_MESSAGE_CONTROL0(AecDumpMsg_DisableAecDump)
26
27 // Messages sent from the renderer to the browser.
28
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 */)
33
34 // Unregisters a consumer with the browser.
35 IPC_MESSAGE_CONTROL1(AecDumpMsg_UnregisterAecDumpConsumer,
36 int /* id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698