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

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: 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.h
diff --git a/content/browser/service_worker/service_worker_info.h b/content/browser/service_worker/service_worker_info.h
index 6145c27cf9c818ad5ae3ea863f1a872891c1dca3..a9db2b665331ff4ac6c78dc4f5627642576fcb08 100644
--- a/content/browser/service_worker/service_worker_info.h
+++ b/content/browser/service_worker/service_worker_info.h
@@ -76,6 +76,7 @@ struct CONTENT_EXPORT ServiceWorkerRegistrationInfo {
DeleteFlag delete_flag);
ServiceWorkerRegistrationInfo(
const GURL& pattern,
+ blink::WebServiceWorkerUpdateViaCache update_via_cache,
int64_t registration_id,
DeleteFlag delete_flag,
const ServiceWorkerVersionInfo& active_version,
@@ -86,6 +87,7 @@ struct CONTENT_EXPORT ServiceWorkerRegistrationInfo {
~ServiceWorkerRegistrationInfo();
GURL pattern;
+ blink::WebServiceWorkerUpdateViaCache update_via_cache;
int64_t registration_id;
DeleteFlag delete_flag;
ServiceWorkerVersionInfo active_version;

Powered by Google App Engine
This is Rietveld 408576698