Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1542743002: [RDHI] Refactored blocked_loaders_map_ to key by render frame route id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1900 matching lines...) Expand 10 before | Expand all | Expand 10 after
1911 } 1911 }
1912 1912
1913 bool RenderProcessHostImpl::SuddenTerminationAllowed() const { 1913 bool RenderProcessHostImpl::SuddenTerminationAllowed() const {
1914 return sudden_termination_allowed_; 1914 return sudden_termination_allowed_;
1915 } 1915 }
1916 1916
1917 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const { 1917 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const {
1918 return base::TimeTicks::Now() - child_process_activity_time_; 1918 return base::TimeTicks::Now() - child_process_activity_time_;
1919 } 1919 }
1920 1920
1921 void RenderProcessHostImpl::ResumeRequestsForView(int route_id) {
1922 widget_helper_->ResumeRequestsForView(route_id);
1923 }
1924
1925 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) { 1921 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) {
1926 FilterURL(this, empty_allowed, url); 1922 FilterURL(this, empty_allowed, url);
1927 } 1923 }
1928 1924
1929 #if defined(ENABLE_WEBRTC) 1925 #if defined(ENABLE_WEBRTC)
1930 void RenderProcessHostImpl::EnableAudioDebugRecordings( 1926 void RenderProcessHostImpl::EnableAudioDebugRecordings(
1931 const base::FilePath& file) { 1927 const base::FilePath& file) {
1932 DCHECK_CURRENTLY_ON(BrowserThread::UI); 1928 DCHECK_CURRENTLY_ON(BrowserThread::UI);
1933 1929
1934 // Enable AEC dump for each registered consumer. 1930 // Enable AEC dump for each registered consumer.
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
2756 void RenderProcessHostImpl::GetAudioOutputControllers( 2752 void RenderProcessHostImpl::GetAudioOutputControllers(
2757 const GetAudioOutputControllersCallback& callback) const { 2753 const GetAudioOutputControllersCallback& callback) const {
2758 audio_renderer_host()->GetOutputControllers(callback); 2754 audio_renderer_host()->GetOutputControllers(callback);
2759 } 2755 }
2760 2756
2761 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2757 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2762 return bluetooth_dispatcher_host_.get(); 2758 return bluetooth_dispatcher_host_.get();
2763 } 2759 }
2764 2760
2765 } // namespace content 2761 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698