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

Unified Diff: content/public/browser/render_process_host.h

Issue 140843007: Implement browser-side logging to WebRtc log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: respond to cr Created 6 years, 11 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/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 436108a398bd7eef071a9c1001d6ea0d2d75804d..a873f13eba0c939826df49380e8ae39c4a25e0e7 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -215,6 +215,12 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
#if defined(ENABLE_WEBRTC)
virtual void EnableAecDump(const base::FilePath& file) = 0;
virtual void DisableAecDump() = 0;
+
+ // When set, |callback| receives log messages regarding media devices
Henrik Grunell 2014/01/22 07:05:24 Maybe add "for example" before "media devices" to
vrk (LEFT CHROMIUM) 2014/01/23 21:46:32 Done.
+ // (webcams, mics, etc) that were initially requested in the render process
+ // associated with this RenderProcessHost.
+ virtual void SetWebRtcLogMessageCallback(
+ base::Callback<void(const std::string&)> callback) = 0;
#endif
// Static management functions -----------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698