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