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

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

Issue 2968123002: Introduce ServiceWorkerRegistrationOptions struct for service worker options (Closed)
Patch Set: Created 3 years, 5 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 29120b0a3bf3616560bc91622ea4f0be2e4583d6..73877861ebfb2f782ec2c7e6554c27e8cb058338 100644
--- a/content/browser/service_worker/service_worker_context_core.h
+++ b/content/browser/service_worker/service_worker_context_core.h
@@ -198,8 +198,8 @@ class CONTENT_EXPORT ServiceWorkerContextCore
// A child process of |source_process_id| may be used to run the created
// worker for initial installation.
falken 2017/07/07 03:25:32 not related to your CL but while here can you dele
yuryu 2017/07/10 03:38:10 Done.
// 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