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

Unified Diff: content/browser/service_worker/service_worker_context_wrapper.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_context_wrapper.h
diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h
index 557e01fccf9a2ffb98a8cb885dc95e0ac45cadf1..af3eddc8d279af239c998ad8482223eaf0a4484a 100644
--- a/content/browser/service_worker/service_worker_context_wrapper.h
+++ b/content/browser/service_worker/service_worker_context_wrapper.h
@@ -103,9 +103,11 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
// ServiceWorkerContext implementation:
void AddObserver(ServiceWorkerContextObserver* observer) override;
void RemoveObserver(ServiceWorkerContextObserver* observer) override;
- void RegisterServiceWorker(const GURL& pattern,
- const GURL& script_url,
- const ResultCallback& continuation) override;
+ void RegisterServiceWorker(
+ const GURL& pattern,
+ const GURL& script_url,
+ blink::WebServiceWorkerUpdateViaCache update_via_cache,
+ const ResultCallback& continuation) override;
void UnregisterServiceWorker(const GURL& pattern,
const ResultCallback& continuation) override;
void GetAllOriginsInfo(const GetUsageInfoCallback& callback) override;

Powered by Google App Engine
This is Rietveld 408576698