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

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

Issue 2968123002: Introduce ServiceWorkerRegistrationOptions struct for service worker options (Closed)
Patch Set: address more comments 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_registration.h
diff --git a/content/browser/service_worker/service_worker_registration.h b/content/browser/service_worker/service_worker_registration.h
index 946a77b34aab01c054128cfaea0a263a8ee32dd0..b48520c074a5bfc94c2f31f827c4e750d8225002 100644
--- a/content/browser/service_worker/service_worker_registration.h
+++ b/content/browser/service_worker/service_worker_registration.h
@@ -50,7 +50,7 @@ class CONTENT_EXPORT ServiceWorkerRegistration
virtual void OnSkippedWaiting(ServiceWorkerRegistration* registation) {}
};
- ServiceWorkerRegistration(const GURL& pattern,
+ ServiceWorkerRegistration(const ServiceWorkerRegistrationOptions& options,
int64_t registration_id,
base::WeakPtr<ServiceWorkerContextCore> context);

Powered by Google App Engine
This is Rietveld 408576698