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

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

Issue 2771823002: Implement updateViaCache flag and no-cache by default for main service worker scripts
Patch Set: fix tests Created 3 years, 9 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_context_core.h
diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h
index bb1fc8993cc8fca8c8472648306c06ccd72031bb..0e67c00cc1a6b2a6d7c1d3bdddff6381b0ce555c 100644
--- a/content/browser/service_worker/service_worker_context_core.h
+++ b/content/browser/service_worker/service_worker_context_core.h
@@ -194,8 +194,8 @@ class CONTENT_EXPORT ServiceWorkerContextCore
// A child process of |source_process_id| may be used to run the created
// worker for initial installation.
// Non-null |provider_host| must be given if this is called from a document.
- void RegisterServiceWorker(const GURL& pattern,
- const GURL& script_url,
+ void RegisterServiceWorker(const GURL& script_url,
+ const ServiceWorkerRegistrationOptions& options,
ServiceWorkerProviderHost* provider_host,
const RegistrationCallback& callback);
void UnregisterServiceWorker(const GURL& pattern,

Powered by Google App Engine
This is Rietveld 408576698