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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.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: This is the original CL, untouched 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/media/media_stream_manager.h
diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h
index eefab6bdcb2087ddfc4890a8f7b1c93a3691050f..8c2edc427a8ac8023bd15a99e4351f76620b42e5 100644
--- a/content/browser/renderer_host/media/media_stream_manager.h
+++ b/content/browser/renderer_host/media/media_stream_manager.h
@@ -185,6 +185,15 @@ class CONTENT_EXPORT MediaStreamManager
// too late. (see http://crbug.com/247525#c14).
virtual void WillDestroyCurrentMessageLoop() OVERRIDE;
+ // Sends log messages to the render processes making device requests, to be
+ // used by the webrtcLoggingPrivate API if requested.
+ void AddLogMessageOnUIThread(const std::string& message);
+
+ // Adds |message| to native logs for outstanding device requests, for use by
+ // render processes requesting logging from webrtcLoggingPrivate API. Safe to
+ // call from any thread.
+ static void SendMessageToNativeLog(const std::string& message);
+
protected:
// Used for testing.
MediaStreamManager();

Powered by Google App Engine
This is Rietveld 408576698