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

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

Issue 486083002: ServiceWorker: Introduce ServiceWorkerRegistrationObjectInfo for cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_registration_handle.h
diff --git a/content/browser/service_worker/service_worker_registration_handle.h b/content/browser/service_worker/service_worker_registration_handle.h
index 1831636c8c1bcedd3623a8fe43a046012689a319..c1a3bdd5c8ad0ce98be2954be7f7b1ea6e7b6e3a 100644
--- a/content/browser/service_worker/service_worker_registration_handle.h
+++ b/content/browser/service_worker/service_worker_registration_handle.h
@@ -33,6 +33,8 @@ class ServiceWorkerRegistrationHandle
ServiceWorkerRegistration* registration);
virtual ~ServiceWorkerRegistrationHandle();
+ ServiceWorkerRegistrationObjectInfo GetObjectInfo();
+
bool HasNoRefCount() const { return ref_count_ <= 0; }
void IncrementRefCount();
void DecrementRefCount();

Powered by Google App Engine
This is Rietveld 408576698