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

Unified Diff: content/common/service_worker/service_worker_types.cc

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.cc
diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc
index f483200bf94e55f49ba3fe865f8e9caf2cd0bc79..c14454f6c99c526b1146df348a0b3407cace701b 100644
--- a/content/common/service_worker/service_worker_types.cc
+++ b/content/common/service_worker/service_worker_types.cc
@@ -137,8 +137,8 @@ bool ServiceWorkerObjectInfo::IsValid() const {
ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo()
: handle_id(kInvalidServiceWorkerRegistrationHandleId),
- registration_id(kInvalidServiceWorkerRegistrationId) {
-}
+ use_cache(false),
+ registration_id(kInvalidServiceWorkerRegistrationId) {}
ServiceWorkerClientQueryOptions::ServiceWorkerClientQueryOptions()
: client_type(blink::WebServiceWorkerClientTypeWindow),

Powered by Google App Engine
This is Rietveld 408576698