Index: content/browser/service_worker/service_worker_registration_handle.cc |
diff --git a/content/browser/service_worker/service_worker_registration_handle.cc b/content/browser/service_worker/service_worker_registration_handle.cc |
index 3e333955b9c77bf4ed44bd6ae63ff4bd31333aaa..b4b06ef32c1614109b93d18fc02ce57c39983590 100644 |
--- a/content/browser/service_worker/service_worker_registration_handle.cc |
+++ b/content/browser/service_worker/service_worker_registration_handle.cc |
@@ -37,6 +37,14 @@ ServiceWorkerRegistrationHandle::~ServiceWorkerRegistrationHandle() { |
registration_->RemoveListener(this); |
} |
+ServiceWorkerRegistrationObjectInfo |
+ServiceWorkerRegistrationHandle::GetObjectInfo() { |
+ ServiceWorkerRegistrationObjectInfo info; |
+ info.handle_id = handle_id_; |
+ info.scope = registration_->pattern(); |
+ return info; |
+} |
+ |
void ServiceWorkerRegistrationHandle::IncrementRefCount() { |
DCHECK_GT(ref_count_, 0); |
++ref_count_; |