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

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: 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/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 8f37098e40a2f2bb2b1d66d48a5be3830bde0b41..ea19e360250496d8262d6e5eb8fab3969c493415 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,7 @@ class ServiceWorkerRegistrationHandleReference {
const ServiceWorkerRegistrationObjectInfo& info() const { return info_; }
int handle_id() const { return info_.handle_id; }
GURL scope() const { return info_.scope; }
+ bool useCache() const { return info_.use_cache; }
nhiroki 2017/03/24 00:33:42 use_cache() (we use the snake_case under content/)
yuryu 2017/03/28 05:08:56 Done.
int64_t registration_id() const { return info_.registration_id; }
private:

Powered by Google App Engine
This is Rietveld 408576698