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

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 tests Created 3 years, 9 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 8ba8ac2b2f39c80325122a3502ccf803bf2c10ce..5381e8b36571904005b608ce17efa1713dd79ad2 100644
--- a/content/browser/service_worker/service_worker_info.cc
+++ b/content/browser/service_worker/service_worker_info.cc
@@ -77,6 +77,7 @@ ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo(
ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo(
const GURL& pattern,
+ bool use_cache,
int64_t registration_id,
DeleteFlag delete_flag,
const ServiceWorkerVersionInfo& active_version,
@@ -84,6 +85,7 @@ ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo(
const ServiceWorkerVersionInfo& installing_version,
int64_t stored_version_size_bytes)
: pattern(pattern),
+ use_cache(use_cache),
registration_id(registration_id),
delete_flag(delete_flag),
active_version(active_version),

Powered by Google App Engine
This is Rietveld 408576698