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

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: address #3 & #4 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..258afb4425f056a49af942ef37c671aee0c4c579 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 ServiceWorkerProviderHost force
falken 2015/06/22 06:04:02 "force force-refresh" Maybe should be "for a docu
xiang 2015/06/23 09:01:36 Done.
+ // force-refresh generated 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