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 1895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1906 } | 1906 } |
1907 | 1907 |
1908 bool RenderProcessHostImpl::SuddenTerminationAllowed() const { | 1908 bool RenderProcessHostImpl::SuddenTerminationAllowed() const { |
1909 return sudden_termination_allowed_; | 1909 return sudden_termination_allowed_; |
1910 } | 1910 } |
1911 | 1911 |
1912 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const { | 1912 base::TimeDelta RenderProcessHostImpl::GetChildProcessIdleTime() const { |
1913 return base::TimeTicks::Now() - child_process_activity_time_; | 1913 return base::TimeTicks::Now() - child_process_activity_time_; |
1914 } | 1914 } |
1915 | 1915 |
1916 void RenderProcessHostImpl::ResumeRequestsForView(int route_id) { | |
1917 widget_helper_->ResumeRequestsForView(route_id); | |
1918 } | |
1919 | |
1920 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) { | 1916 void RenderProcessHostImpl::FilterURL(bool empty_allowed, GURL* url) { |
1921 FilterURL(this, empty_allowed, url); | 1917 FilterURL(this, empty_allowed, url); |
1922 } | 1918 } |
1923 | 1919 |
1924 #if defined(ENABLE_WEBRTC) | 1920 #if defined(ENABLE_WEBRTC) |
1925 void RenderProcessHostImpl::EnableAudioDebugRecordings( | 1921 void RenderProcessHostImpl::EnableAudioDebugRecordings( |
1926 const base::FilePath& file) { | 1922 const base::FilePath& file) { |
1927 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 1923 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
1928 | 1924 |
1929 // Enable AEC dump for each registered consumer. | 1925 // Enable AEC dump for each registered consumer. |
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2744 void RenderProcessHostImpl::GetAudioOutputControllers( | 2740 void RenderProcessHostImpl::GetAudioOutputControllers( |
2745 const GetAudioOutputControllersCallback& callback) const { | 2741 const GetAudioOutputControllersCallback& callback) const { |
2746 audio_renderer_host()->GetOutputControllers(callback); | 2742 audio_renderer_host()->GetOutputControllers(callback); |
2747 } | 2743 } |
2748 | 2744 |
2749 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2745 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
2750 return bluetooth_dispatcher_host_.get(); | 2746 return bluetooth_dispatcher_host_.get(); |
2751 } | 2747 } |
2752 | 2748 |
2753 } // namespace content | 2749 } // namespace content |
OLD | NEW |