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

Unified Diff: content/public/renderer/webrtc_log_message_delegate.h

Issue 23691066: Hook up WebRTC logging extension API to the underlying functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 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/renderer/webrtc_log_message_delegate.h
diff --git a/content/public/renderer/webrtc_log_message_delegate.h b/content/public/renderer/webrtc_log_message_delegate.h
index 44695670db6edca4c51b13584608a2bacec28f05..cb324df8cb214b149b37e9578dcc853bbf0333c3 100644
--- a/content/public/renderer/webrtc_log_message_delegate.h
+++ b/content/public/renderer/webrtc_log_message_delegate.h
@@ -17,11 +17,6 @@ namespace content {
// the ordinary logging stream) that will be used for diagnostic purposes.
class WebRtcLogMessageDelegate {
public:
- // Tells the handler to initialize WebRTC logging. |app_session_id| is set
- // by the Javascript application. |app_url| is the Javascript application URL.
- virtual void InitLogging(const std::string& app_session_id,
- const std::string& app_url) = 0;
-
// Pass a diagnostic WebRTC log message.
virtual void LogMessage(const std::string& message) = 0;
@@ -33,6 +28,9 @@ class WebRtcLogMessageDelegate {
CONTENT_EXPORT void InitWebRtcLoggingDelegate(
WebRtcLogMessageDelegate* delegate);
+// Must be called on IO thread.
+CONTENT_EXPORT void InitWebRtcLogging();
+
} // namespace content
#endif // CONTENT_PUBLIC_RENDERER_MEDIA_WEBRTC_LOG_MESSAGE_DELEGATE_H_
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/renderer/media/media_stream_dependency_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698