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

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

Issue 463013002: ServiceWorker: Implement updatefound event and version attributes (Chromium) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add browser-side implementation and wiring part Created 6 years, 4 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 bd0d9e96778b5957ab62237dfec38d399e49dd35..eaa85f8219d7bcafb83cfa5926d2d8435086a004 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -138,6 +138,11 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
// provider is responsible for releasing the handle.
ServiceWorkerObjectInfo CreateHandleAndPass(ServiceWorkerVersion* version);
+ // Creates a ServiceWorkerRegistrationHandle to retain |registration| and
+ // returns the registration handle ID to pass to the provider. The provider is
+ // responsible for releasing the handle.
+ int CreateRegistrationHandleAndPass(ServiceWorkerRegistration* registration);
+
const int process_id_;
const int provider_id_;
GURL document_url_;

Powered by Google App Engine
This is Rietveld 408576698