Index: content/browser/renderer_host/render_process_host_impl.h |
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h |
index f5646797ab5f86e35d90d8b11ec2aecff41548aa..3c8880bdcfed669f379fa08c5d1790b4eecab790 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -21,6 +21,7 @@ |
#include "build/build_config.h" |
#include "content/browser/child_process_launcher.h" |
#include "content/browser/dom_storage/session_storage_namespace_impl.h" |
+#include "content/browser/media/webrtc/webrtc_eventlog_host.h" |
#include "content/browser/power_monitor_message_broadcaster.h" |
#include "content/common/content_export.h" |
#include "content/common/mojo/service_registry_impl.h" |
@@ -143,8 +144,8 @@ class CONTENT_EXPORT RenderProcessHostImpl |
#if defined(ENABLE_WEBRTC) |
void EnableAudioDebugRecordings(const base::FilePath& file) override; |
void DisableAudioDebugRecordings() override; |
- void EnableEventLogRecordings(const base::FilePath& file) override; |
- void DisableEventLogRecordings() override; |
+ bool StartWebRTCEventLog(const base::FilePath& file_path) override; |
+ bool StopWebRTCEventLog() override; |
void SetWebRtcLogMessageCallback( |
base::Callback<void(const std::string&)> callback) override; |
void ClearWebRtcLogMessageCallback() override; |
@@ -341,24 +342,15 @@ class CONTENT_EXPORT RenderProcessHostImpl |
#if defined(ENABLE_WEBRTC) |
void OnRegisterAecDumpConsumer(int id); |
- void OnRegisterEventLogConsumer(int id); |
void OnUnregisterAecDumpConsumer(int id); |
- void OnUnregisterEventLogConsumer(int id); |
void RegisterAecDumpConsumerOnUIThread(int id); |
- void RegisterEventLogConsumerOnUIThread(int id); |
void UnregisterAecDumpConsumerOnUIThread(int id); |
- void UnregisterEventLogConsumerOnUIThread(int id); |
void EnableAecDumpForId(const base::FilePath& file, int id); |
- void EnableEventLogForId(const base::FilePath& file, int id); |
// Sends |file_for_transit| to the render process. |
void SendAecDumpFileToRenderer(int id, |
IPC::PlatformFileForTransit file_for_transit); |
- void SendEventLogFileToRenderer(int id, |
- IPC::PlatformFileForTransit file_for_transit); |
void SendDisableAecDumpToRenderer(); |
- void SendDisableEventLogToRenderer(); |
base::FilePath GetAecDumpFilePathWithExtensions(const base::FilePath& file); |
- base::FilePath GetEventLogFilePathWithExtensions(const base::FilePath& file); |
#endif |
std::unique_ptr<MojoChildConnection> mojo_child_connection_; |
@@ -479,6 +471,8 @@ class CONTENT_EXPORT RenderProcessHostImpl |
std::vector<int> aec_dump_consumers_; |
WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; |
+ |
+ WebRTCEventLogHost webrtc_eventlog_host_; |
#endif |
int worker_ref_count_; |