OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 | 959 |
960 int RenderProcessHostImpl::GetNextRoutingID() { | 960 int RenderProcessHostImpl::GetNextRoutingID() { |
961 return widget_helper_->GetNextRoutingID(); | 961 return widget_helper_->GetNextRoutingID(); |
962 } | 962 } |
963 | 963 |
964 void RenderProcessHostImpl::ResumeDeferredNavigation( | 964 void RenderProcessHostImpl::ResumeDeferredNavigation( |
965 const GlobalRequestID& request_id) { | 965 const GlobalRequestID& request_id) { |
966 widget_helper_->ResumeDeferredNavigation(request_id); | 966 widget_helper_->ResumeDeferredNavigation(request_id); |
967 } | 967 } |
968 | 968 |
969 void RenderProcessHostImpl::ResumeResponseDeferredAtStart( | |
970 const GlobalRequestID& request_id) { | |
971 widget_helper_->ResumeResponseDeferredAtStart(request_id); | |
972 } | |
973 | |
974 void RenderProcessHostImpl::NotifyTimezoneChange(const std::string& zone_id) { | 969 void RenderProcessHostImpl::NotifyTimezoneChange(const std::string& zone_id) { |
975 Send(new ViewMsg_TimezoneChange(zone_id)); | 970 Send(new ViewMsg_TimezoneChange(zone_id)); |
976 } | 971 } |
977 | 972 |
978 ServiceRegistry* RenderProcessHostImpl::GetServiceRegistry() { | 973 ServiceRegistry* RenderProcessHostImpl::GetServiceRegistry() { |
979 DCHECK(mojo_application_host_); | 974 DCHECK(mojo_application_host_); |
980 return mojo_application_host_->service_registry(); | 975 return mojo_application_host_->service_registry(); |
981 } | 976 } |
982 | 977 |
983 const base::TimeTicks& RenderProcessHostImpl::GetInitTimeForNavigationMetrics() | 978 const base::TimeTicks& RenderProcessHostImpl::GetInitTimeForNavigationMetrics() |
(...skipping 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2458 if (worker_ref_count_ == 0) | 2453 if (worker_ref_count_ == 0) |
2459 Cleanup(); | 2454 Cleanup(); |
2460 } | 2455 } |
2461 | 2456 |
2462 void RenderProcessHostImpl::GetAudioOutputControllers( | 2457 void RenderProcessHostImpl::GetAudioOutputControllers( |
2463 const GetAudioOutputControllersCallback& callback) const { | 2458 const GetAudioOutputControllersCallback& callback) const { |
2464 audio_renderer_host()->GetOutputControllers(callback); | 2459 audio_renderer_host()->GetOutputControllers(callback); |
2465 } | 2460 } |
2466 | 2461 |
2467 } // namespace content | 2462 } // namespace content |
OLD | NEW |