Make naming of new layout constants consistent.
[chromium-blink-merge.git] / chrome / common / media / webrtc_logging_messages.h
blobcfb223083ddaae2cf9d290177ece7e4c118dd889
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
3 // found in the LICENSE file.
5 // IPC messages for WebRTC logging.
6 // Multiply-included message file, hence no include guard.
8 #include "chrome/common/media/webrtc_logging_message_data.h"
9 #include "ipc/ipc_message_macros.h"
11 #define IPC_MESSAGE_START WebRtcLoggingMsgStart
13 IPC_STRUCT_TRAITS_BEGIN(WebRtcLoggingMessageData)
14 IPC_STRUCT_TRAITS_MEMBER(timestamp)
15 IPC_STRUCT_TRAITS_MEMBER(message)
16 IPC_STRUCT_TRAITS_END()
18 // Messages sent from the renderer to the browser.
20 // Send log message to add to log.
21 IPC_MESSAGE_CONTROL1(WebRtcLoggingMsg_AddLogMessages,
22 std::vector<WebRtcLoggingMessageData> /* messages */)
24 // Notification that the renderer has stopped sending log messages to the
25 // browser.
26 IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_LoggingStopped)
28 // Messages sent from the browser to the renderer.
30 // Tells the renderer to start sending log messages to the browser.
31 IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_StartLogging)
33 // Tells the renderer to stop sending log messages to the browser.
34 IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_StopLogging)