summaryrefslogtreecommitdiffstats
path: root/chrome/common/media/webrtc_logging_messages.h
blob: af2ada3e2ad6c1912b8946a9cb54707283785be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// IPC messages for WebRTC logging.
// Multiply-included message file, hence no include guard.

#include "base/memory/shared_memory.h"
#include "ipc/ipc_message_macros.h"

#define IPC_MESSAGE_START WebRtcLoggingMsgStart

// Messages sent from the renderer to the browser.

// Notification that the log has been closed.
IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_LoggingStopped)

// Messages sent from the browser to the renderer.

// Tells the renderer to open the log.
IPC_MESSAGE_CONTROL2(WebRtcLoggingMsg_StartLogging,
                     base::SharedMemoryHandle /* handle */,
                     uint32 /* length */)

// Tells the renderer to close the log.
IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_StopLogging)