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

Side by Side Diff: chrome/common/media/webrtc_logging_messages.h

Issue 23691066: Hook up WebRTC logging extension API to the underlying functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 WebRTC logging. 5 // IPC messages for WebRTC logging.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 10
11 #define IPC_MESSAGE_START WebRtcLoggingMsgStart 11 #define IPC_MESSAGE_START WebRtcLoggingMsgStart
12 12
13 // Messages sent from the renderer to the browser. 13 // Messages sent from the renderer to the browser.
14 14
15 // Request to open a log. 15 // Notification that the log has been closed.
16 IPC_MESSAGE_CONTROL2(WebRtcLoggingMsg_OpenLog, 16 IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_LoggingStopped)
17 std::string /* app_session_id */,
18 std::string /* app_url */)
19 17
20 // Messages sent from the browser to the renderer. 18 // Messages sent from the browser to the renderer.
21 19
22 // Notification that a log could not be opened. 20 // Tells the renderer to open the log.
23 IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_OpenLogFailed) 21 IPC_MESSAGE_CONTROL2(WebRtcLoggingMsg_StartLogging,
24
25 // Notification that a log has been opened.
26 IPC_MESSAGE_CONTROL2(WebRtcLoggingMsg_LogOpened,
27 base::SharedMemoryHandle /* handle */, 22 base::SharedMemoryHandle /* handle */,
28 uint32 /* length */) 23 uint32 /* length */)
24
25 // Tells the renderer to close the log.
26 IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_StopLogging)
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/webrtc_logging_private.idl ('k') | chrome/renderer/media/chrome_webrtc_log_message_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698