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

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: Added limit to number of log files and the size of the log files. Created 4 years, 8 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 80b823c6101efe286aecd9117bf9f29393e4530c..92b3ab5863d5373dfd50a7ef414da924a5282542 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_process_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,
+ 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