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

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 CONTENT_EXPORT to WebRTCEventLogHost. Created 4 years, 5 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..6cc19999695b3876ae8610df1a55afe1687bfc20 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,13 @@ 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 peer_connection_id,
+ IPC::PlatformFileForTransit file);
+
+ // IPC Message handler for stopping event log.
+ void OnStopEventLog(int peer_connection_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
« no previous file with comments | « content/renderer/media/mock_peer_connection_impl.h ('k') | content/renderer/media/peer_connection_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698