Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: content/browser/service_worker/service_worker_context_wrapper.cc

Issue 1283273002: Service Worker: Change last update check location and HTTP cache bypass rule (2/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass a callback to UpdateScript(). Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4c80be97e106c01abeeb1cf1efee7ebfc120d757..a2b0fe24a5091b9aad07062912518cdead1535fd 100644
--- a/content/browser/service_worker/service_worker_context_wrapper.cc
+++ b/content/browser/service_worker/service_worker_context_wrapper.cc
@@ -389,6 +389,7 @@ void ServiceWorkerContextWrapper::DidFindRegistrationForUpdate(
if (!context_core_)
return;
DCHECK(registration);
+ // TODO(jungkees): Plumb |force_bypass_cache| through to UpdateRegistration().
falken 2015/09/10 01:29:24 Does not doing this TODO cause a bug? Can you expl
jungkees 2015/09/10 14:54:12 It doesn't. It's just to provide options to caller
context_core_->UpdateServiceWorker(registration.get(),
true /* force_bypass_cache */);
}

Powered by Google App Engine
This is Rietveld 408576698