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

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

Issue 140633004: Reland CL to implement browser-side logging to WebRtc log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: These are the changes that should fix crbug.com/338848 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..faa42ebe5e3b0949825289b3e1cd49221cdd4fd3 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, for example. media
+ // devices (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