| Index: content/browser/service_worker/service_worker_context_wrapper.cc
|
| diff --git a/content/browser/service_worker/service_worker_context_wrapper.cc b/content/browser/service_worker/service_worker_context_wrapper.cc
|
| index 7d1c05e408c56e19181b57e1093f227a51c8d73a..e08b37e0a8fc61071c0788c717c890ee9efea35b 100644
|
| --- a/content/browser/service_worker/service_worker_context_wrapper.cc
|
| +++ b/content/browser/service_worker/service_worker_context_wrapper.cc
|
| @@ -416,6 +416,11 @@ void ServiceWorkerContextWrapper::DidFindRegistrationForUpdate(
|
| if (!context_core_)
|
| return;
|
| DCHECK(registration);
|
| + // TODO(jungkees): |force_bypass_cache| is set to true because the call stack
|
| + // is initiated by an update button on DevTools that expects the cache is
|
| + // bypassed. However, in order to provide options for callers to choose the
|
| + // cache bypass mode, plumb |force_bypass_cache| through to
|
| + // UpdateRegistration().
|
| context_core_->UpdateServiceWorker(registration.get(),
|
| true /* force_bypass_cache */);
|
| }
|
|
|