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 /chrome/common/media | |
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 'chrome/common/media')
-rw-r--r-- | chrome/common/media/webrtc_logging_messages.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/chrome/common/media/webrtc_logging_messages.h b/chrome/common/media/webrtc_logging_messages.h index cceea8f..af2ada3 100644 --- a/chrome/common/media/webrtc_logging_messages.h +++ b/chrome/common/media/webrtc_logging_messages.h @@ -12,17 +12,15 @@ // Messages sent from the renderer to the browser. -// Request to open a log. -IPC_MESSAGE_CONTROL2(WebRtcLoggingMsg_OpenLog, - std::string /* app_session_id */, - std::string /* app_url */) +// Notification that the log has been closed. +IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_LoggingStopped) // Messages sent from the browser to the renderer. -// Notification that a log could not be opened. -IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_OpenLogFailed) - -// Notification that a log has been opened. -IPC_MESSAGE_CONTROL2(WebRtcLoggingMsg_LogOpened, +// Tells the renderer to open the log. +IPC_MESSAGE_CONTROL2(WebRtcLoggingMsg_StartLogging, base::SharedMemoryHandle /* handle */, uint32 /* length */) + +// Tells the renderer to close the log. +IPC_MESSAGE_CONTROL0(WebRtcLoggingMsg_StopLogging) |