| Index: chrome/renderer/media/webrtc_logging_message_filter.cc
|
| diff --git a/chrome/renderer/media/webrtc_logging_message_filter.cc b/chrome/renderer/media/webrtc_logging_message_filter.cc
|
| index be4f665286cbefbc9ff9cce3e6efcce3d6501228..2f205b16733e11ee014c2535d147425064ce757e 100644
|
| --- a/chrome/renderer/media/webrtc_logging_message_filter.cc
|
| +++ b/chrome/renderer/media/webrtc_logging_message_filter.cc
|
| @@ -29,8 +29,8 @@ bool WebRtcLoggingMessageFilter::OnMessageReceived(
|
| DCHECK(io_message_loop_->BelongsToCurrentThread());
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(WebRtcLoggingMessageFilter, message)
|
| - IPC_MESSAGE_HANDLER(WebRtcLoggingMsg_LogOpened, OnLogOpened)
|
| - IPC_MESSAGE_HANDLER(WebRtcLoggingMsg_OpenLogFailed, OnOpenLogFailed)
|
| + IPC_MESSAGE_HANDLER(WebRtcLoggingMsg_StartLogging, OnStartLogging)
|
| + IPC_MESSAGE_HANDLER(WebRtcLoggingMsg_StopLogging, OnStopLogging)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| return handled;
|
| @@ -53,11 +53,9 @@ void WebRtcLoggingMessageFilter::OnChannelClosing() {
|
| log_message_delegate_->OnFilterRemoved();
|
| }
|
|
|
| -void WebRtcLoggingMessageFilter::InitLogging(
|
| - const std::string& app_session_id,
|
| - const std::string& app_url) {
|
| +void WebRtcLoggingMessageFilter::LoggingStopped() {
|
| DCHECK(io_message_loop_->BelongsToCurrentThread());
|
| - Send(new WebRtcLoggingMsg_OpenLog(app_session_id, app_url));
|
| + Send(new WebRtcLoggingMsg_LoggingStopped());
|
| }
|
|
|
| void WebRtcLoggingMessageFilter::CreateLoggingHandler() {
|
| @@ -66,16 +64,16 @@ void WebRtcLoggingMessageFilter::CreateLoggingHandler() {
|
| new ChromeWebRtcLogMessageDelegate(io_message_loop_, this);
|
| }
|
|
|
| -void WebRtcLoggingMessageFilter::OnLogOpened(
|
| +void WebRtcLoggingMessageFilter::OnStartLogging(
|
| base::SharedMemoryHandle handle,
|
| uint32 length) {
|
| DCHECK(io_message_loop_->BelongsToCurrentThread());
|
| - log_message_delegate_->OnLogOpened(handle, length);
|
| + log_message_delegate_->OnStartLogging(handle, length);
|
| }
|
|
|
| -void WebRtcLoggingMessageFilter::OnOpenLogFailed() {
|
| +void WebRtcLoggingMessageFilter::OnStopLogging() {
|
| DCHECK(io_message_loop_->BelongsToCurrentThread());
|
| - log_message_delegate_->OnOpenLogFailed();
|
| + log_message_delegate_->OnStopLogging();
|
| }
|
|
|
| void WebRtcLoggingMessageFilter::Send(IPC::Message* message) {
|
|
|