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 1811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1822 renderer_host_binding_.Bind(std::move(request)); | 1822 renderer_host_binding_.Bind(std::move(request)); |
1823 } | 1823 } |
1824 | 1824 |
1825 void RenderProcessHostImpl::CreateURLLoaderFactory( | 1825 void RenderProcessHostImpl::CreateURLLoaderFactory( |
1826 const service_manager::BindSourceInfo& source_info, | 1826 const service_manager::BindSourceInfo& source_info, |
1827 mojom::URLLoaderFactoryRequest request) { | 1827 mojom::URLLoaderFactoryRequest request) { |
1828 if (!base::FeatureList::IsEnabled(features::kNetworkService)) { | 1828 if (!base::FeatureList::IsEnabled(features::kNetworkService)) { |
1829 NOTREACHED(); | 1829 NOTREACHED(); |
1830 return; | 1830 return; |
1831 } | 1831 } |
1832 storage_partition_impl_->network_context()->CreateURLLoaderFactory( | 1832 storage_partition_impl_->GetNetworkContext()->CreateURLLoaderFactory( |
1833 std::move(request), id_); | 1833 std::move(request), id_); |
1834 } | 1834 } |
1835 | 1835 |
1836 int RenderProcessHostImpl::GetNextRoutingID() { | 1836 int RenderProcessHostImpl::GetNextRoutingID() { |
1837 return widget_helper_->GetNextRoutingID(); | 1837 return widget_helper_->GetNextRoutingID(); |
1838 } | 1838 } |
1839 | 1839 |
1840 void RenderProcessHostImpl::ResumeDeferredNavigation( | 1840 void RenderProcessHostImpl::ResumeDeferredNavigation( |
1841 const GlobalRequestID& request_id) { | 1841 const GlobalRequestID& request_id) { |
1842 widget_helper_->ResumeDeferredNavigation(request_id); | 1842 widget_helper_->ResumeDeferredNavigation(request_id); |
(...skipping 1983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3826 bad_message::ReceivedBadMessage(render_process_id, | 3826 bad_message::ReceivedBadMessage(render_process_id, |
3827 bad_message::RPH_MOJO_PROCESS_ERROR); | 3827 bad_message::RPH_MOJO_PROCESS_ERROR); |
3828 } | 3828 } |
3829 | 3829 |
3830 viz::SharedBitmapAllocationNotifierImpl* | 3830 viz::SharedBitmapAllocationNotifierImpl* |
3831 RenderProcessHostImpl::GetSharedBitmapAllocationNotifier() { | 3831 RenderProcessHostImpl::GetSharedBitmapAllocationNotifier() { |
3832 return &shared_bitmap_allocation_notifier_impl_; | 3832 return &shared_bitmap_allocation_notifier_impl_; |
3833 } | 3833 } |
3834 | 3834 |
3835 } // namespace content | 3835 } // namespace content |
OLD | NEW |