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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 140843007: Implement browser-side logging to WebRtc log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/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 73522cb58019a57e8f626a7ef5c66dcf4b622422..fd8b7668debc9b276e03e3bde818082bc46593d5 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -124,6 +124,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
#if defined(ENABLE_WEBRTC)
virtual void EnableAecDump(const base::FilePath& file) OVERRIDE;
virtual void DisableAecDump() OVERRIDE;
+ virtual void SetWebRtcLogMessageCallback(
+ base::Callback<void(const std::string&)> callback) OVERRIDE;
+ virtual void WebRtcLogMessage(const std::string& message) OVERRIDE;
#endif
// IPC::Sender via RenderProcessHost.
@@ -389,6 +392,10 @@ class CONTENT_EXPORT RenderProcessHostImpl
// Message filter for geolocation messages.
GeolocationDispatcherHost* geolocation_dispatcher_host_;
+#if defined(ENABLE_WEBRTC)
+ base::Callback<void(const std::string&)> webrtc_log_message_callback_;
+#endif
+
// Lives on the browser's ChildThread.
base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698