Index: content/public/browser/render_process_host.h |
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h |
index 74ac574d5439830d30b2b7dfca5f4e46fa8dbb06..b5e948d9d9da7489885fb6f88411442c38e6c6b6 100644 |
--- a/content/public/browser/render_process_host.h |
+++ b/content/public/browser/render_process_host.h |
@@ -219,8 +219,15 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, |
virtual void EnableAudioDebugRecordings(const base::FilePath& file) = 0; |
virtual void DisableAudioDebugRecordings() = 0; |
- virtual void EnableEventLogRecordings(const base::FilePath& file) = 0; |
- virtual void DisableEventLogRecordings() = 0; |
+ // Starts a WebRTC event log for each peerconnection on the render process. |
+ // A base file_path can be supplied, which will be extended to include several |
+ // identifiers to ensure uniqueness. If a recording was already in progress, |
+ // this call will return false and have no other effect. |
+ virtual bool StartWebRTCEventLog(const base::FilePath& file_path) = 0; |
+ |
+ // Stops recording a WebRTC event log for each peerconnection on the render |
+ // process. If no recording was in progress, this call will return false. |
+ virtual bool StopWebRTCEventLog() = 0; |
// When set, |callback| receives log messages regarding, for example, media |
// devices (webcams, mics, etc) that were initially requested in the render |