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

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: Nasko review (name change + comments) Created 4 years, 10 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 1932 matching lines...) Expand 10 before | Expand all | Expand 10 after
1943 } 1943 }
1944 1944
1945 bool RenderProcessHostImpl::SuddenTerminationAllowed() const { 1945 bool RenderProcessHostImpl::SuddenTerminationAllowed() const {
1946 return sudden_termination_allowed_; 1946 return sudden_termination_allowed_;
1947 } 1947 }
1948 1948
1949 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const { 1949 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const {
1950 return base::TimeTicks::Now() - child_process_activity_time_; 1950 return base::TimeTicks::Now() - child_process_activity_time_;
1951 } 1951 }
1952 1952
1953 void RenderProcessHostImpl::ResumeRequestsForView(int route_id) {
1954 widget_helper_->ResumeRequestsForView(route_id);
1955 }
1956
1957 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) { 1953 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) {
1958 FilterURL(this, empty_allowed, url); 1954 FilterURL(this, empty_allowed, url);
1959 } 1955 }
1960 1956
1961 #if defined(ENABLE_WEBRTC) 1957 #if defined(ENABLE_WEBRTC)
1962 void RenderProcessHostImpl::EnableAudioDebugRecordings( 1958 void RenderProcessHostImpl::EnableAudioDebugRecordings(
1963 const base::FilePath& file) { 1959 const base::FilePath& file) {
1964 DCHECK_CURRENTLY_ON(BrowserThread::UI); 1960 DCHECK_CURRENTLY_ON(BrowserThread::UI);
1965 1961
1966 // Enable AEC dump for each registered consumer. 1962 // Enable AEC dump for each registered consumer.
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
2797 void RenderProcessHostImpl::GetAudioOutputControllers( 2793 void RenderProcessHostImpl::GetAudioOutputControllers(
2798 const GetAudioOutputControllersCallback& callback) const { 2794 const GetAudioOutputControllersCallback& callback) const {
2799 audio_renderer_host()->GetOutputControllers(callback); 2795 audio_renderer_host()->GetOutputControllers(callback);
2800 } 2796 }
2801 2797
2802 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2798 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2803 return bluetooth_dispatcher_host_.get(); 2799 return bluetooth_dispatcher_host_.get();
2804 } 2800 }
2805 2801
2806 } // namespace content 2802 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698