diff options
Diffstat (limited to 'chrome/browser/media/webrtc_logging_handler_host.cc')
-rw-r--r-- | chrome/browser/media/webrtc_logging_handler_host.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/media/webrtc_logging_handler_host.cc b/chrome/browser/media/webrtc_logging_handler_host.cc index 31759bb..611bc52 100644 --- a/chrome/browser/media/webrtc_logging_handler_host.cc +++ b/chrome/browser/media/webrtc_logging_handler_host.cc @@ -203,14 +203,6 @@ void WebRtcLoggingHandlerHost::DiscardLog(const GenericDoneCallback& callback) { FireGenericDoneCallback(&discard_callback, true, ""); } -void WebRtcLoggingHandlerHost::LogMessage(const std::string& message) { - BrowserThread::PostTask( - BrowserThread::IO, - FROM_HERE, - base::Bind( - &WebRtcLoggingHandlerHost::AddLogMessageFromBrowser, this, message)); -} - void WebRtcLoggingHandlerHost::OnChannelClosing() { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); if (logging_state_ == STARTED || logging_state_ == STOPPED) { @@ -242,13 +234,6 @@ bool WebRtcLoggingHandlerHost::OnMessageReceived(const IPC::Message& message, return handled; } -void WebRtcLoggingHandlerHost::AddLogMessageFromBrowser( - const std::string& message) { - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); - if (logging_state_ == STARTED) - LogToCircularBuffer(message); -} - void WebRtcLoggingHandlerHost::OnAddLogMessage(const std::string& message) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); if (logging_state_ == STARTED || logging_state_ == STOPPING) |