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

Unified Diff: content/browser/service_worker/service_worker_provider_host.h

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_provider_host.h
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h
index 24d33e0711e31909defc5cce81f9af920bb3328b..3a95c2172bcd126fa4a722f30e25444f94b90be3 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -64,6 +64,7 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
// secure origin.
static std::unique_ptr<ServiceWorkerProviderHost> PreCreateNavigationHost(
base::WeakPtr<ServiceWorkerContextCore> context,
+ const MojoURLLoaderFactoryGetter& url_loader_factory_getter,
bool are_ancestors_secure);
enum class FrameSecurityLevel { UNINITIALIZED, INSECURE, SECURE };
@@ -371,6 +372,7 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
base::WeakPtr<ServiceWorkerContextCore> context_;
ServiceWorkerDispatcherHost* dispatcher_host_;
bool allow_association_;
+ MojoURLLoaderFactoryGetter url_loader_factory_getter_;
std::vector<base::Closure> queued_events_;

Powered by Google App Engine
This is Rietveld 408576698