| 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 1898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1909 } | 1909 } |
| 1910 | 1910 |
| 1911 bool RenderProcessHostImpl::SuddenTerminationAllowed() const { | 1911 bool RenderProcessHostImpl::SuddenTerminationAllowed() const { |
| 1912 return sudden_termination_allowed_; | 1912 return sudden_termination_allowed_; |
| 1913 } | 1913 } |
| 1914 | 1914 |
| 1915 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const { | 1915 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const { |
| 1916 return base::TimeTicks::Now() - child_process_activity_time_; | 1916 return base::TimeTicks::Now() - child_process_activity_time_; |
| 1917 } | 1917 } |
| 1918 | 1918 |
| 1919 void RenderProcessHostImpl::ResumeRequestsForView(int route_id) { | |
| 1920 widget_helper_->ResumeRequestsForView(route_id); | |
| 1921 } | |
| 1922 | |
| 1923 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) { | 1919 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) { |
| 1924 FilterURL(this, empty_allowed, url); | 1920 FilterURL(this, empty_allowed, url); |
| 1925 } | 1921 } |
| 1926 | 1922 |
| 1927 #if defined(ENABLE_WEBRTC) | 1923 #if defined(ENABLE_WEBRTC) |
| 1928 void RenderProcessHostImpl::EnableAudioDebugRecordings( | 1924 void RenderProcessHostImpl::EnableAudioDebugRecordings( |
| 1929 const base::FilePath& file) { | 1925 const base::FilePath& file) { |
| 1930 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 1926 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 1931 | 1927 |
| 1932 // Enable AEC dump for each registered consumer. | 1928 // Enable AEC dump for each registered consumer. |
| (...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2763 void RenderProcessHostImpl::GetAudioOutputControllers( | 2759 void RenderProcessHostImpl::GetAudioOutputControllers( |
| 2764 const GetAudioOutputControllersCallback& callback) const { | 2760 const GetAudioOutputControllersCallback& callback) const { |
| 2765 audio_renderer_host()->GetOutputControllers(callback); | 2761 audio_renderer_host()->GetOutputControllers(callback); |
| 2766 } | 2762 } |
| 2767 | 2763 |
| 2768 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2764 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
| 2769 return bluetooth_dispatcher_host_.get(); | 2765 return bluetooth_dispatcher_host_.get(); |
| 2770 } | 2766 } |
| 2771 | 2767 |
| 2772 } // namespace content | 2768 } // namespace content |
| OLD | NEW |