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

Unified Diff: content/browser/service_worker/service_worker_info.h

Issue 2771823002: Implement updateViaCache flag and no-cache by default for main service worker scripts
Patch Set: 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.h
diff --git a/content/browser/service_worker/service_worker_info.h b/content/browser/service_worker/service_worker_info.h
index 461657536c19cced32871a646381157937851183..03b6cabed6e892455e933aebba4be5faf52b3e9e 100644
--- a/content/browser/service_worker/service_worker_info.h
+++ b/content/browser/service_worker/service_worker_info.h
@@ -69,6 +69,7 @@ struct CONTENT_EXPORT ServiceWorkerRegistrationInfo {
DeleteFlag delete_flag);
ServiceWorkerRegistrationInfo(
const GURL& pattern,
+ bool use_cache,
int64_t registration_id,
DeleteFlag delete_flag,
const ServiceWorkerVersionInfo& active_version,
@@ -79,6 +80,7 @@ struct CONTENT_EXPORT ServiceWorkerRegistrationInfo {
~ServiceWorkerRegistrationInfo();
GURL pattern;
+ bool use_cache;
int64_t registration_id;
DeleteFlag delete_flag;
ServiceWorkerVersionInfo active_version;

Powered by Google App Engine
This is Rietveld 408576698