Chromium Code Reviews| Index: content/browser/appcache/appcache_request_handler.h |
| diff --git a/content/browser/appcache/appcache_request_handler.h b/content/browser/appcache/appcache_request_handler.h |
| index 3b7e16736d50b3198620f2e4367daa3bce0686e3..f6e1d2722d47b70b48e2a75037bc759888fc60a5 100644 |
| --- a/content/browser/appcache/appcache_request_handler.h |
| +++ b/content/browser/appcache/appcache_request_handler.h |
| @@ -17,6 +17,7 @@ |
| #include "content/browser/appcache/appcache_host.h" |
| #include "content/browser/appcache/appcache_service_impl.h" |
| #include "content/common/content_export.h" |
| +#include "content/common/url_loader_factory.mojom.h" |
| #include "content/public/common/resource_type.h" |
| namespace net { |
| @@ -26,9 +27,11 @@ class URLRequest; |
| namespace content { |
| class AppCacheJob; |
| +class AppCacheNavigationHandleCore; |
| class AppCacheRequest; |
| class AppCacheRequestHandlerTest; |
| class AppCacheURLRequestJob; |
| +class ResourceContext; |
| // An instance is created for each net::URLRequest. The instance survives all |
| // http transactions involved in the processing of its net::URLRequest, and is |
| @@ -69,6 +72,16 @@ class CONTENT_EXPORT AppCacheRequestHandler |
| type == RESOURCE_TYPE_SHARED_WORKER; |
| } |
| + // PlzNavigate and --enable-network-service. |
| + // Same as InitializeForNavigation() but instead of attaching to a URLRequest, |
|
kinuko
2017/05/11 02:14:14
nit: Incomplete sentence
ananta
2017/05/11 02:30:24
Done.
|
| + static void InitializeForNavigationNetworkService( |
| + std::unique_ptr<ResourceRequest> resource_request, |
| + ResourceContext* resource_context, |
| + AppCacheNavigationHandleCore* navigation_handle_core, |
| + ResourceType resource_type, |
| + base::Callback<void(mojom::URLLoaderFactoryPtrInfo, |
| + std::unique_ptr<ResourceRequest>)> callback); |
| + |
| private: |
| friend class AppCacheHost; |