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