Index: content/browser/service_worker/service_worker_register_job.h |
diff --git a/content/browser/service_worker/service_worker_register_job.h b/content/browser/service_worker/service_worker_register_job.h |
index 548fa5ae001f97fb0d7afc042b2390a2fd7284c6..75d03b7ab4c78aa24bdfa69909fc16d2cadcad5b 100644 |
--- a/content/browser/service_worker/service_worker_register_job.h |
+++ b/content/browser/service_worker/service_worker_register_job.h |
@@ -67,22 +67,6 @@ class ServiceWorkerRegisterJob |
virtual bool Equals(ServiceWorkerRegisterJobBase* job) OVERRIDE; |
virtual RegistrationJobType GetType() OVERRIDE; |
- // TODO(michaeln): Use the registration listerer's OnVersionAttributesChanged |
- // method to replace these methods, have the host listen for changes |
- // to their registration. |
- CONTENT_EXPORT static void AssociateInstallingVersionToDocuments( |
- base::WeakPtr<ServiceWorkerContextCore> context, |
- ServiceWorkerVersion* version); |
- static void AssociateWaitingVersionToDocuments( |
- base::WeakPtr<ServiceWorkerContextCore> context, |
- ServiceWorkerVersion* version); |
- static void AssociateActiveVersionToDocuments( |
- base::WeakPtr<ServiceWorkerContextCore> context, |
- ServiceWorkerVersion* version); |
- CONTENT_EXPORT static void DisassociateVersionFromDocuments( |
- base::WeakPtr<ServiceWorkerContextCore> context, |
- ServiceWorkerVersion* version); |
- |
private: |
FRIEND_TEST_ALL_PREFIXES(ServiceWorkerProviderHostWaitingVersionTest, |
AssociateInstallingVersionToDocuments); |
@@ -148,6 +132,9 @@ class ServiceWorkerRegisterJob |
ServiceWorkerStatusCode status, |
bool are_equal); |
+ void AssociateProviderHostsToRegistration( |
+ ServiceWorkerRegistration* registration); |
+ |
// The ServiceWorkerContextCore object should always outlive this. |
base::WeakPtr<ServiceWorkerContextCore> context_; |