summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_process_host_impl.cc
diff options
context:
space:
mode:
authorvrk@chromium.org <vrk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-29 00:55:43 +0000
committervrk@chromium.org <vrk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-29 00:55:43 +0000
commitd95595eb5145e310baf692f359f9488faf73750d (patch)
tree41e2e610d8c3856acf1f747891509dcd12abbd65 /content/browser/renderer_host/render_process_host_impl.cc
parentb3c1b3b66d1c720172e731d1bfc44cfb44c992a3 (diff)
downloadchromium_src-d95595eb5145e310baf692f359f9488faf73750d.zip
chromium_src-d95595eb5145e310baf692f359f9488faf73750d.tar.gz
chromium_src-d95595eb5145e310baf692f359f9488faf73750d.tar.bz2
Revert 247164 "Implement browser-side logging to WebRtc log"
Need to revert this because it's causing crashes on Canary. BUG=338848 > Implement browser-side logging to WebRtc log > > This adds a logging callback to RenderProcessHost and also adds logging > for device enumeration in the browser process. > > BUG=332261 > > Review URL: https://codereview.chromium.org/140843007 TBR=vrk@chromium.org Review URL: https://codereview.chromium.org/132233058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/render_process_host_impl.cc')
-rw-r--r--content/browser/renderer_host/render_process_host_impl.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 60881ea..14c0cd2 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1516,11 +1516,6 @@ void RenderProcessHostImpl::DisableAecDump() {
base::Bind(&RenderProcessHostImpl::SendDisableAecDumpToRenderer,
weak_factory_.GetWeakPtr()));
}
-
-void RenderProcessHostImpl::SetWebRtcLogMessageCallback(
- base::Callback<void(const std::string&)> callback) {
- webrtc_log_message_callback_ = callback;
-}
#endif
IPC::ChannelProxy* RenderProcessHostImpl::GetChannel() {
@@ -1887,14 +1882,6 @@ void RenderProcessHostImpl::EndFrameSubscription(int route_id) {
route_id));
}
-#if defined(ENABLE_WEBRTC)
-void RenderProcessHostImpl::WebRtcLogMessage(const std::string& message) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- if (!webrtc_log_message_callback_.is_null())
- webrtc_log_message_callback_.Run(message);
-}
-#endif
-
void RenderProcessHostImpl::OnShutdownRequest() {
// Don't shut down if there are active RenderViews, or if there are pending
// RenderViews being swapped back in.