summaryrefslogtreecommitdiffstats
path: root/content/common/webrtc_logging_messages.h
blob: d15d9ac8a724bcc0da4ab8c9f5c600c5ded4c4c2 (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 (c) 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/shared_memory.h"
#include "ipc/ipc_message_macros.h"

#define IPC_MESSAGE_START WebRtcLoggingMsgStart

// Messages sent from the renderer to the browser.

// Request to open a log.
IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_OpenLog)

// Messages sent from the browser to the renderer.

// Notification that a log could not be opened.
IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_OpenLogFailed)

// Notification that a log has been opened.
IPC_MESSAGE_CONTROL2(WebRtcLoggingMsg_LogOpened,
                     base::SharedMemoryHandle /* handle */,
                     uint32 /* length */)