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

Unified Diff: content/child/service_worker/service_worker_registration_handle_reference.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/child/service_worker/service_worker_registration_handle_reference.h
diff --git a/content/child/service_worker/service_worker_registration_handle_reference.h b/content/child/service_worker/service_worker_registration_handle_reference.h
index 8f638bbb11c6c920e2ca1e83d2119499d36ae46c..fce9c667da670270ddf819d6141c5aca6517834f 100644
--- a/content/child/service_worker/service_worker_registration_handle_reference.h
+++ b/content/child/service_worker/service_worker_registration_handle_reference.h
@@ -41,6 +41,9 @@ class ServiceWorkerRegistrationHandleReference {
const ServiceWorkerRegistrationObjectInfo& info() const { return info_; }
int handle_id() const { return info_.handle_id; }
GURL scope() const { return info_.options.scope; }
+ blink::WebServiceWorkerUpdateViaCache update_via_cache() const {
+ return info_.options.update_via_cache;
+ }
int64_t registration_id() const { return info_.registration_id; }
private:

Powered by Google App Engine
This is Rietveld 408576698