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

Unified Diff: content/browser/media/webrtc/webrtc_internals.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: Addressed comments from Henrik and enabled logging for newly created render processes. 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/browser/media/webrtc/webrtc_internals.h
diff --git a/content/browser/media/webrtc/webrtc_internals.h b/content/browser/media/webrtc/webrtc_internals.h
index e319313df2db8a47b130ca3404f173da82b5f6e1..bf4f8e942f2aedc95224e667e37fe046e2f3fc3b 100644
--- a/content/browser/media/webrtc/webrtc_internals.h
+++ b/content/browser/media/webrtc/webrtc_internals.h
@@ -99,10 +99,11 @@ class CONTENT_EXPORT WebRTCInternals : public RenderProcessHostObserver,
const base::FilePath& GetAudioDebugRecordingsFilePath() const;
// Enables or disables diagnostic event log.
- void SetEventLogRecordings(bool enable, content::WebContents* web_contents);
+ void EnableEventLogRecordings(content::WebContents* web_contents);
+ void DisableEventLogRecordings();
bool IsEventLogRecordingsEnabled() const;
- const base::FilePath& GetEventLogRecordingsFilePath() const;
+ const base::FilePath& GetEventLogFilePath() const;
protected:
// Constructor/Destructor are protected to allow tests to derive from the

Powered by Google App Engine
This is Rietveld 408576698