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

Unified Diff: content/browser/service_worker/service_worker_navigation_handle.cc

Issue 2446553002: Support Service Worker NavigationPreload with PlzNavigate. (Closed)
Patch Set: remove unnecessary comment Created 4 years, 2 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/service_worker/service_worker_navigation_handle.cc
diff --git a/content/browser/service_worker/service_worker_navigation_handle.cc b/content/browser/service_worker/service_worker_navigation_handle.cc
index 2bc87a22fb5210ea2ff324e26f2f196a8d68a746..9ef616d64fa70a65a8ccb5acf2bc8454e6beb6d3 100644
--- a/content/browser/service_worker/service_worker_navigation_handle.cc
+++ b/content/browser/service_worker/service_worker_navigation_handle.cc
@@ -12,12 +12,13 @@
namespace content {
ServiceWorkerNavigationHandle::ServiceWorkerNavigationHandle(
- ServiceWorkerContextWrapper* context_wrapper)
+ ServiceWorkerContextWrapper* context_wrapper,
+ const MojoURLLoaderFactoryGetter& url_loader_factory_getter)
: service_worker_provider_host_id_(kInvalidServiceWorkerProviderId),
weak_factory_(this) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- core_ = new ServiceWorkerNavigationHandleCore(weak_factory_.GetWeakPtr(),
- context_wrapper);
+ core_ = new ServiceWorkerNavigationHandleCore(
+ weak_factory_.GetWeakPtr(), context_wrapper, url_loader_factory_getter);
}
ServiceWorkerNavigationHandle::~ServiceWorkerNavigationHandle() {

Powered by Google App Engine
This is Rietveld 408576698