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. 4 5 // IPC messages for WebRTC logging. 6 // Multiply-included message file, hence no include guard. 7 8 #include <string> 9 10 #include "base/memory/shared_memory.h" 11 #include "ipc/ipc_message_macros.h" 12 13 #define IPC_MESSAGE_START WebRtcLoggingMsgStart 14 15 // Messages sent from the renderer to the browser. 16 17 // Send log message to add to log. 18 IPC_MESSAGE_CONTROL1(WebRtcLoggingMsg_AddLogMessage, 19 std::string /* message */) 20 21 // Notification that the renderer has stopped sending log messages to the 22 // browser. 23 IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_LoggingStopped) 24 25 // Messages sent from the browser to the renderer. 26 27 // Tells the renderer to start sending log messages to the browser. 28 IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_StartLogging) 29 30 // Tells the renderer to stop sending log messages to the browser. 31 IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_StopLogging) 32