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

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: iterate living registrations 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 8d7126bdc47269ced0d4be27218cc3dabc5c8448..ee711cb17589597fcb9153b5b71cd59326e98387 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -223,6 +223,9 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
// for current document.
ServiceWorkerRegistration* MatchRegistration() const;
+ // Copy matched registrations for document generated by shift-reload.
+ void CopyMatchingRegistrations();
falken 2015/06/24 02:24:26 nit: we're not really copying it now, just adding.
xiang 2015/06/25 05:37:32 Done.
+
// 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