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

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

Issue 2771823002: Implement updateViaCache flag and no-cache by default for main service worker scripts
Patch Set: fix IPC Created 3 years, 4 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_registration_handle.cc
diff --git a/content/browser/service_worker/service_worker_registration_handle.cc b/content/browser/service_worker/service_worker_registration_handle.cc
index 7c7c18ed9d56b93c601ca7968649b7ee0e5e99ee..28cdf2c70d8492a213aa3b34e591a9c7c937e259 100644
--- a/content/browser/service_worker/service_worker_registration_handle.cc
+++ b/content/browser/service_worker/service_worker_registration_handle.cc
@@ -49,6 +49,8 @@ ServiceWorkerRegistrationHandle::GetObjectInfo() {
ServiceWorkerRegistrationObjectInfo info;
info.handle_id = handle_id_;
info.options.scope = registration_->pattern();
+ info.options.update_via_cache = registration_->update_via_cache();
+
info.registration_id = registration_->id();
return info;
}

Powered by Google App Engine
This is Rietveld 408576698