Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(941)

Unified Diff: content/browser/loader/navigation_url_loader_network_service.h

Issue 2843043002: network service: Create URLLoader for service worker navigation case
Patch Set: . Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/loader/navigation_url_loader_network_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/navigation_url_loader_network_service.h
diff --git a/content/browser/loader/navigation_url_loader_network_service.h b/content/browser/loader/navigation_url_loader_network_service.h
index 30196ee69a75d22b547e85b7bdf2780c1ccc49dd..a42e865ec5792e41db44cb82c99fcf2441551e36 100644
--- a/content/browser/loader/navigation_url_loader_network_service.h
+++ b/content/browser/loader/navigation_url_loader_network_service.h
@@ -66,22 +66,21 @@ class NavigationURLLoaderNetworkService : public NavigationURLLoader,
void OnComplete(
const ResourceRequestCompletionStatus& completion_status) override;
- // Initiates the request.
- void StartURLRequest(std::unique_ptr<ResourceRequest> request);
-
private:
- void ConnectURLLoaderFactory(
- std::unique_ptr<service_manager::Connector> connector);
+ void StartURLRequest(mojom::URLLoaderFactoryPtrInfo url_loader_factory_info,
+ std::unique_ptr<ResourceRequest> request);
mojom::URLLoaderFactory* GetURLLoaderFactory();
NavigationURLLoaderDelegate* delegate_;
+ mojom::URLLoaderFactoryPtr url_loader_factory_;
mojo::Binding<mojom::URLLoaderClient> binding_;
std::unique_ptr<NavigationRequestInfo> request_info_;
mojom::URLLoaderAssociatedPtr url_loader_associated_ptr_;
scoped_refptr<ResourceResponse> response_;
SSLStatus ssl_status_;
+ std::unique_ptr<ResourceRequest> new_request_;
base::WeakPtrFactory<NavigationURLLoaderNetworkService> weak_factory_;
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/loader/navigation_url_loader_network_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698