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

Unified Diff: content/browser/service_worker/service_worker_info.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_info.cc
diff --git a/content/browser/service_worker/service_worker_info.cc b/content/browser/service_worker/service_worker_info.cc
index ba62c7ea51a478d19d41c9821f00ea98dbf1b0ea..a67861e2649230b5a93826e28c79f2b14038fb49 100644
--- a/content/browser/service_worker/service_worker_info.cc
+++ b/content/browser/service_worker/service_worker_info.cc
@@ -86,6 +86,7 @@ ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo(
ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo(
const GURL& pattern,
+ blink::WebServiceWorkerUpdateViaCache update_via_cache,
int64_t registration_id,
DeleteFlag delete_flag,
const ServiceWorkerVersionInfo& active_version,
@@ -93,6 +94,7 @@ ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo(
const ServiceWorkerVersionInfo& installing_version,
int64_t stored_version_size_bytes)
: pattern(pattern),
+ update_via_cache(update_via_cache),
registration_id(registration_id),
delete_flag(delete_flag),
active_version(active_version),
« no previous file with comments | « content/browser/service_worker/service_worker_info.h ('k') | content/browser/service_worker/service_worker_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698