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

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

Issue 1567903002: [Test - Do Not Commit] Stop blocking requests for new windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge onto #371523 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 1923 matching lines...) Expand 10 before | Expand all | Expand 10 after
1934 } 1934 }
1935 1935
1936 bool RenderProcessHostImpl::SuddenTerminationAllowed() const { 1936 bool RenderProcessHostImpl::SuddenTerminationAllowed() const {
1937 return sudden_termination_allowed_; 1937 return sudden_termination_allowed_;
1938 } 1938 }
1939 1939
1940 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const { 1940 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const {
1941 return base::TimeTicks::Now() - child_process_activity_time_; 1941 return base::TimeTicks::Now() - child_process_activity_time_;
1942 } 1942 }
1943 1943
1944 void RenderProcessHostImpl::ResumeRequestsForView(int route_id) {
1945 widget_helper_->ResumeRequestsForView(route_id);
1946 }
1947
1948 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) { 1944 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) {
1949 FilterURL(this, empty_allowed, url); 1945 FilterURL(this, empty_allowed, url);
1950 } 1946 }
1951 1947
1952 #if defined(ENABLE_WEBRTC) 1948 #if defined(ENABLE_WEBRTC)
1953 void RenderProcessHostImpl::EnableAudioDebugRecordings( 1949 void RenderProcessHostImpl::EnableAudioDebugRecordings(
1954 const base::FilePath& file) { 1950 const base::FilePath& file) {
1955 DCHECK_CURRENTLY_ON(BrowserThread::UI); 1951 DCHECK_CURRENTLY_ON(BrowserThread::UI);
1956 1952
1957 // Enable AEC dump for each registered consumer. 1953 // Enable AEC dump for each registered consumer.
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
2788 void RenderProcessHostImpl::GetAudioOutputControllers( 2784 void RenderProcessHostImpl::GetAudioOutputControllers(
2789 const GetAudioOutputControllersCallback& callback) const { 2785 const GetAudioOutputControllersCallback& callback) const {
2790 audio_renderer_host()->GetOutputControllers(callback); 2786 audio_renderer_host()->GetOutputControllers(callback);
2791 } 2787 }
2792 2788
2793 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2789 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2794 return bluetooth_dispatcher_host_.get(); 2790 return bluetooth_dispatcher_host_.get();
2795 } 2791 }
2796 2792
2797 } // namespace content 2793 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.h ('k') | content/browser/renderer_host/render_widget_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698