[email protected] | fc8638a | 2013-04-18 09:17:02 | [diff] [blame^] | 1 | // Copyright (c) 2013 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 WebRTC logging. |
| 6 | // Multiply-included message file, hence no include guard. |
| 7 | |
| 8 | #include "base/shared_memory.h" |
| 9 | #include "ipc/ipc_message_macros.h" |
| 10 | |
| 11 | #define IPC_MESSAGE_START WebRtcLoggingMsgStart |
| 12 | |
| 13 | // Messages sent from the renderer to the browser. |
| 14 | |
| 15 | // Request to open a log. |
| 16 | IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_OpenLog) |
| 17 | |
| 18 | // Messages sent from the browser to the renderer. |
| 19 | |
| 20 | // Notification that a log could not be opened. |
| 21 | IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_OpenLogFailed) |
| 22 | |
| 23 | // Notification that a log has been opened. |
| 24 | IPC_MESSAGE_CONTROL2(WebRtcLoggingMsg_LogOpened, |
| 25 | base::SharedMemoryHandle /* handle */, |
| 26 | uint32 /* length */) |