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

Unified Diff: content/renderer/media/peer_connection_tracker.h

Issue 1855193002: Move the call to enable the WebRTC event log from PeerConnectionFactory to PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with existing WebRtcEventLogHandler. Created 4 years, 7 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/renderer/media/peer_connection_tracker.h
diff --git a/content/renderer/media/peer_connection_tracker.h b/content/renderer/media/peer_connection_tracker.h
index 679ca4540300b0179687786319fe21b012c613c6..487534b66e17645343969c53c5e7dfeca13e0137 100644
--- a/content/renderer/media/peer_connection_tracker.h
+++ b/content/renderer/media/peer_connection_tracker.h
@@ -12,6 +12,7 @@
#include "base/memory/weak_ptr.h"
#include "base/threading/thread_checker.h"
#include "content/public/renderer/render_thread_observer.h"
+#include "ipc/ipc_platform_file.h"
#include "third_party/WebKit/public/platform/WebMediaStream.h"
#include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandlerClient.h"
#include "third_party/WebKit/public/platform/WebRTCSessionDescription.h"
@@ -186,6 +187,14 @@ class CONTENT_EXPORT PeerConnectionTracker
// Called when the browser process reports a suspend event from the OS.
void OnSuspend();
+ // IPC Message handler for starting event log.
+ void OnStartEventLog(int local_id,
Henrik Grunell 2016/05/10 08:44:56 What is "local_id"? Can you use a more informative
Ivo-OOO until feb 6 2016/05/12 13:23:24 This is the ID for the peerconnection within the r
+ IPC::PlatformFileForTransit file,
+ int64_t max_file_size_bytes);
+
+ // IPC Message handler for stopping event log.
+ void OnStopEventLog(int local_id);
+
// Called to deliver an update to the host (PeerConnectionTrackerHost).
// |local_id| - The id of the registered RTCPeerConnectionHandler.
// Using an id instead of the hander pointer is done on purpose

Powered by Google App Engine
This is Rietveld 408576698