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

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, 8 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
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 8223c83a19c38b904289d94383e03bd10ec8fb3b..3a215ad481c018ffc344e1fad08a7986ac9a27a0 100644
--- a/content/browser/loader/navigation_url_loader_network_service.h
+++ b/content/browser/loader/navigation_url_loader_network_service.h
@@ -60,12 +60,9 @@ 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);
NavigationURLLoaderDelegate* delegate_;
@@ -74,6 +71,7 @@ class NavigationURLLoaderNetworkService : public NavigationURLLoader,
mojom::URLLoaderAssociatedPtr url_loader_associated_ptr_;
scoped_refptr<ResourceResponse> response_;
SSLStatus ssl_status_;
+ std::unique_ptr<ResourceRequest> new_request_;
base::WeakPtrFactory<NavigationURLLoaderNetworkService> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698