| 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..13e4b4b703ca28e5a47cdaddac99a1a5bb869b78 100644
|
| --- a/content/browser/service_worker/service_worker_job_coordinator.cc
|
| +++ b/content/browser/service_worker/service_worker_job_coordinator.cc
|
| @@ -92,6 +92,13 @@ void ServiceWorkerJobCoordinator::Unregister(
|
| queued_job->AddCallback(callback);
|
| }
|
|
|
| +void ServiceWorkerJobCoordinator::Update(
|
| + ServiceWorkerRegistration* registration) {
|
| + job_queues_[registration->pattern()].Push(
|
| + make_scoped_ptr<ServiceWorkerRegisterJobBase>(
|
| + new ServiceWorkerRegisterJob(context_, registration)));
|
| +}
|
| +
|
| void ServiceWorkerJobCoordinator::AbortAll() {
|
| for (RegistrationJobMap::iterator it = job_queues_.begin();
|
| it != job_queues_.end(); ++it) {
|
|
|