Index: content/browser/service_worker/service_worker_job_coordinator.cc |
diff --git a/content/browser/service_worker/service_worker_job_coordinator.cc b/content/browser/service_worker/service_worker_job_coordinator.cc |
index 8152b4902721df56d780c8e3ff968701968dbd3d..eb51b809bcacffbc72d8bec47f9bb2f701cbcdb4 100644 |
--- a/content/browser/service_worker/service_worker_job_coordinator.cc |
+++ b/content/browser/service_worker/service_worker_job_coordinator.cc |
@@ -92,6 +92,12 @@ void ServiceWorkerJobCoordinator::Unregister( |
queued_job->AddCallback(callback); |
} |
+void ServiceWorkerJobCoordinator::Update( |
+ ServiceWorkerRegistration* registration) { |
+ job_queues_[registration->pattern()].Push(make_scoped_ptr( |
+ new ServiceWorkerRegisterJob(context_, registration))); |
+} |
+ |
void ServiceWorkerJobCoordinator::AbortAll() { |
for (RegistrationJobMap::iterator it = job_queues_.begin(); |
it != job_queues_.end(); ++it) { |