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

Unified Diff: content/common/service_worker/service_worker_types.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/common/service_worker/service_worker_types.h
diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
index a2ace940c6361a298c66b92a0eb8387033ae633b..e5c1d5ea121e29fb80a05ea6fa2fe090945b3827 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -223,9 +223,16 @@ struct CONTENT_EXPORT ServiceWorkerRegistrationObjectInfo {
ServiceWorkerRegistrationObjectInfo();
int handle_id;
GURL scope;
+ bool use_cache;
nhiroki 2017/03/24 00:33:42 |scope| and |use_cache| could be replaced with Ser
yuryu 2017/03/28 05:08:56 Done.
int64_t registration_id;
};
+struct CONTENT_EXPORT ServiceWorkerRegistrationAttributes {
nhiroki 2017/03/24 00:33:42 "RegistrationAttributes" could sound a bit confusi
falken 2017/03/24 04:06:19 +1, and then using this struct when possible when
yuryu 2017/03/28 05:08:56 Done.
+ GURL pattern;
+ GURL script_url;
+ bool use_cache;
+};
+
struct ServiceWorkerVersionAttributes {
ServiceWorkerObjectInfo installing;
ServiceWorkerObjectInfo waiting;

Powered by Google App Engine
This is Rietveld 408576698