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 13a8632f32c0bab2e5d99c8bdd6169520e55d5b4..538537eabc68669ec40e9cdf959447a2b8f8cf2e 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_; |