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

Unified Diff: content/child/service_worker/web_service_worker_provider_impl.h

Issue 535753002: ServiceWorker: Implement navigator.serviceWorker.getRegistration [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/child/service_worker/web_service_worker_provider_impl.h
diff --git a/content/child/service_worker/web_service_worker_provider_impl.h b/content/child/service_worker/web_service_worker_provider_impl.h
index b78f4d0e8fb9539951a29bbd4f924781ac93a5f4..ebc15b3c4439df93c09af0978e01078fe1cf516f 100644
--- a/content/child/service_worker/web_service_worker_provider_impl.h
+++ b/content/child/service_worker/web_service_worker_provider_impl.h
@@ -39,6 +39,9 @@ class WebServiceWorkerProviderImpl
virtual void unregisterServiceWorker(const blink::WebURL& pattern,
WebServiceWorkerRegistrationCallbacks*);
+ virtual void getRegistration(const blink::WebURL& document_url,
+ WebServiceWorkerGetRegistrationCallbacks*);
+
ServiceWorkerProviderContext* context() { return context_.get(); }
int provider_id() const { return provider_id_; }

Powered by Google App Engine
This is Rietveld 408576698