Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1632)

Unified Diff: content/common/webrtc_logging_messages.h

Issue 13119009: Adding WebRTC logging filter, handler and handler host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed render_thread_impl.* and render_process_host_impl.cc changes from this CL. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/webrtc_logging_messages.h
diff --git a/content/common/webrtc_logging_messages.h b/content/common/webrtc_logging_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..dee455639ab755fb3b88fee4e85b252fb225bc92
--- /dev/null
+++ b/content/common/webrtc_logging_messages.h
@@ -0,0 +1,27 @@
+// 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.
+// TODO(grunell): Maybe a general fail msg, with fail reason in it.
+IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_OpenLogFailed)
+
+// Notification that a log has been opened.
+IPC_MESSAGE_CONTROL2(WebRtcLoggingMsg_LogOpened,
+ base::SharedMemoryHandle /* handle */,
+ uint32 /* length */)

Powered by Google App Engine
This is Rietveld 408576698