| 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 1991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2002 mojom::RendererHostRequest request) { | 2002 mojom::RendererHostRequest request) { |
| 2003 renderer_host_binding_.Bind(std::move(request)); | 2003 renderer_host_binding_.Bind(std::move(request)); |
| 2004 } | 2004 } |
| 2005 | 2005 |
| 2006 void RenderProcessHostImpl::CreateURLLoaderFactory( | 2006 void RenderProcessHostImpl::CreateURLLoaderFactory( |
| 2007 mojom::URLLoaderFactoryRequest request) { | 2007 mojom::URLLoaderFactoryRequest request) { |
| 2008 if (!base::FeatureList::IsEnabled(features::kNetworkService)) { | 2008 if (!base::FeatureList::IsEnabled(features::kNetworkService)) { |
| 2009 NOTREACHED(); | 2009 NOTREACHED(); |
| 2010 return; | 2010 return; |
| 2011 } | 2011 } |
| 2012 storage_partition_impl_->network_context()->CreateURLLoaderFactory( | 2012 storage_partition_impl_->GetNetworkContext()->CreateURLLoaderFactory( |
| 2013 std::move(request), id_); | 2013 std::move(request), id_); |
| 2014 } | 2014 } |
| 2015 | 2015 |
| 2016 int RenderProcessHostImpl::GetNextRoutingID() { | 2016 int RenderProcessHostImpl::GetNextRoutingID() { |
| 2017 return widget_helper_->GetNextRoutingID(); | 2017 return widget_helper_->GetNextRoutingID(); |
| 2018 } | 2018 } |
| 2019 | 2019 |
| 2020 void RenderProcessHostImpl::ResumeDeferredNavigation( | 2020 void RenderProcessHostImpl::ResumeDeferredNavigation( |
| 2021 const GlobalRequestID& request_id) { | 2021 const GlobalRequestID& request_id) { |
| 2022 widget_helper_->ResumeDeferredNavigation(request_id); | 2022 widget_helper_->ResumeDeferredNavigation(request_id); |
| (...skipping 2004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4027 bad_message::ReceivedBadMessage(render_process_id, | 4027 bad_message::ReceivedBadMessage(render_process_id, |
| 4028 bad_message::RPH_MOJO_PROCESS_ERROR); | 4028 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 4029 } | 4029 } |
| 4030 | 4030 |
| 4031 viz::SharedBitmapAllocationNotifierImpl* | 4031 viz::SharedBitmapAllocationNotifierImpl* |
| 4032 RenderProcessHostImpl::GetSharedBitmapAllocationNotifier() { | 4032 RenderProcessHostImpl::GetSharedBitmapAllocationNotifier() { |
| 4033 return &shared_bitmap_allocation_notifier_impl_; | 4033 return &shared_bitmap_allocation_notifier_impl_; |
| 4034 } | 4034 } |
| 4035 | 4035 |
| 4036 } // namespace content | 4036 } // namespace content |
| OLD | NEW |