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

Unified Diff: content/browser/service_worker/service_worker_provider_host.h

Issue 1181573010: ServiceWorker: Fix matching registration info missing during shift-reload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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_provider_host.h
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h
index 0af23c1239af8a3cf3429ed00250c51ddd63d4be..d1b36b6080ad90d2daa70b415e60b14f83ec54d4 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -220,6 +220,10 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
// for current document.
ServiceWorkerRegistration* MatchRegistration() const;
+ // Copy matched registrations from the old one for force-refresh generated
falken 2015/06/17 15:08:35 "the old one" is vague here... "from the old Servi
xiang 2015/06/19 07:43:24 Done.
+ // document.
+ void CopyMatchingRegistrations();
+
// Called when our controller has been terminated and doomed due to an
// exceptional condition like it could no longer be read from the script
// cache.

Powered by Google App Engine
This is Rietveld 408576698