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 eacbd857973ed276a7f2a5643f0881adbdc27e43..8093b8bbf681bfe1f93831f3bcbcaaee4ac9c836 100644 |
--- a/content/browser/service_worker/service_worker_context_core.h |
+++ b/content/browser/service_worker/service_worker_context_core.h |
@@ -164,8 +164,9 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
std::vector<ServiceWorkerRegistrationInfo> GetAllLiveRegistrationInfo(); |
std::vector<ServiceWorkerVersionInfo> GetAllLiveVersionInfo(); |
- // Returns new context-local unique ID for ServiceWorkerHandle. |
+ // Returns new context-local unique ID. |
int GetNewServiceWorkerHandleId(); |
+ int GetNewRegistrationHandleId(); |
void ScheduleDeleteAndStartOver() const; |
@@ -208,6 +209,7 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
std::map<int64, ServiceWorkerRegistration*> live_registrations_; |
std::map<int64, ServiceWorkerVersion*> live_versions_; |
int next_handle_id_; |
+ int next_registration_handle_id_; |
scoped_refptr<ObserverListThreadSafe<ServiceWorkerContextObserver> > |
observer_list_; |