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

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: just comments / minor restructuring (trybots previous) 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 1899 matching lines...) Expand 10 before | Expand all | Expand 10 after
1910 } 1910 }
1911 1911
1912 bool RenderProcessHostImpl::SuddenTerminationAllowed() const { 1912 bool RenderProcessHostImpl::SuddenTerminationAllowed() const {
1913 return sudden_termination_allowed_; 1913 return sudden_termination_allowed_;
1914 } 1914 }
1915 1915
1916 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const { 1916 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const {
1917 return base::TimeTicks::Now() - child_process_activity_time_; 1917 return base::TimeTicks::Now() - child_process_activity_time_;
1918 } 1918 }
1919 1919
1920 void RenderProcessHostImpl::ResumeRequestsForView(int route_id) { 1920 void RenderProcessHostImpl::ResumeRequestsForFrame(int route_id) {
Randy Smith (Not in Mondays) 2015/12/29 23:11:37 I hope you were really careful about making sure t
Charlie Harrison 2015/12/30 20:51:49 The approach I did here (and other places) was to
Randy Smith (Not in Mondays) 2016/01/04 21:24:48 No, actually, that sounds like a good approach. S
1921 widget_helper_->ResumeRequestsForView(route_id); 1921 widget_helper_->ResumeRequestsForFrame(route_id);
1922 } 1922 }
1923 1923
1924 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) { 1924 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) {
1925 FilterURL(this, empty_allowed, url); 1925 FilterURL(this, empty_allowed, url);
1926 } 1926 }
1927 1927
1928 #if defined(ENABLE_WEBRTC) 1928 #if defined(ENABLE_WEBRTC)
1929 void RenderProcessHostImpl::EnableAudioDebugRecordings( 1929 void RenderProcessHostImpl::EnableAudioDebugRecordings(
1930 const base::FilePath& file) { 1930 const base::FilePath& file) {
1931 DCHECK_CURRENTLY_ON(BrowserThread::UI); 1931 DCHECK_CURRENTLY_ON(BrowserThread::UI);
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
2755 void RenderProcessHostImpl::GetAudioOutputControllers( 2755 void RenderProcessHostImpl::GetAudioOutputControllers(
2756 const GetAudioOutputControllersCallback& callback) const { 2756 const GetAudioOutputControllersCallback& callback) const {
2757 audio_renderer_host()->GetOutputControllers(callback); 2757 audio_renderer_host()->GetOutputControllers(callback);
2758 } 2758 }
2759 2759
2760 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2760 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2761 return bluetooth_dispatcher_host_.get(); 2761 return bluetooth_dispatcher_host_.get();
2762 } 2762 }
2763 2763
2764 } // namespace content 2764 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698