Chromium Code Reviews| Index: content/browser/loader/navigation_url_loader_network_service.cc |
| diff --git a/content/browser/loader/navigation_url_loader_network_service.cc b/content/browser/loader/navigation_url_loader_network_service.cc |
| index f32156a4074b47cda6e106d7ed12dbfde21c131b..f517c4ebdad72b33a1a67969b3eab7ed4127ba50 100644 |
| --- a/content/browser/loader/navigation_url_loader_network_service.cc |
| +++ b/content/browser/loader/navigation_url_loader_network_service.cc |
| @@ -9,6 +9,8 @@ |
| #include "base/memory/ptr_util.h" |
| #include "base/trace_event/trace_event.h" |
| #include "content/browser/appcache/appcache_navigation_handle.h" |
| +#include "content/browser/appcache/appcache_navigation_handle_core.h" |
| +#include "content/browser/appcache/appcache_url_loader_factory.h" |
| #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
| #include "content/browser/frame_host/frame_tree_node.h" |
| #include "content/browser/frame_host/navigation_request_info.h" |
| @@ -107,6 +109,9 @@ void PrepareNavigationStartOnIO( |
| } else { |
| if (appcache_handle_core) { |
| factory = url_loader_factory_getter->GetAppCacheFactory()->get(); |
|
michaeln
2017/05/24 00:59:32
I think I see a problem with this function. It see
|
| + // TODO(ananta) |
| + // Change this when we don't use URLLoaderFactories in the browser. |
| + AppCacheURLLoaderFactory::SetAppCacheHost(appcache_handle_core->host()); |
|
ananta
2017/05/24 02:14:03
The plan for now is to have each factory call the
|
| } else { |
| factory = url_loader_factory_getter->GetNetworkFactory()->get(); |
| } |