diff options
author | grunell@chromium.org <grunell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-03 18:44:06 +0000 |
---|---|---|
committer | grunell@chromium.org <grunell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-03 18:44:06 +0000 |
commit | 10e5c5e528eb8aaf235ca44cc98756429f7f7b39 (patch) | |
tree | 57ceff508dc16512a84592bc9a5513f329859003 /content/public/renderer | |
parent | 12164a56d3d292b2fb15db718a3ca14160f14a06 (diff) | |
download | chromium_src-10e5c5e528eb8aaf235ca44cc98756429f7f7b39.zip chromium_src-10e5c5e528eb8aaf235ca44cc98756429f7f7b39.tar.gz chromium_src-10e5c5e528eb8aaf235ca44cc98756429f7f7b39.tar.bz2 |
Hook up WebRTC logging extension API to the underlying functionality.
The API skeleton CL landed previously: https://chromiumcodereview.appspot.com/23885002/
In the CL:
- Hook up the API to the logging functionality.
- Changes to the logging functionality to allow for new API features.
- Make RenderProcessHost a SupportsUserData, to be able to associate a logging handler host with it.
- Made a fix in base/supports_user_data.h.
- Removal of the old way of enabling logging via the JS PeerConnection constructor.
- Refactorings due to the new API features and removals.
TBR=jochen@chromium.org (for chrome/common/media/webrtc_logging_messages.h)
BUG=298158
Review URL: https://codereview.chromium.org/23691066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/renderer')
-rw-r--r-- | content/public/renderer/webrtc_log_message_delegate.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/content/public/renderer/webrtc_log_message_delegate.h b/content/public/renderer/webrtc_log_message_delegate.h index 4469567..cb324df 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_ |