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

Unified Diff: content/public/browser/service_worker_context.h

Issue 1432823003: Add a test to cover service worker update codepath when extension is updated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use set_force_update_on_page_load() + git cl format Created 5 years, 1 month 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/public/browser/service_worker_context.h
diff --git a/content/public/browser/service_worker_context.h b/content/public/browser/service_worker_context.h
index bac9ab620847a693819b127887f6107fcea28f66..080ca52fc9e2488fd0fae452419b010a53b2eb45 100644
--- a/content/public/browser/service_worker_context.h
+++ b/content/public/browser/service_worker_context.h
@@ -69,6 +69,7 @@ class ServiceWorkerContext {
virtual void GetAllOriginsInfo(const GetUsageInfoCallback& callback) = 0;
virtual void DeleteForOrigin(const GURL& origin_url,
const ResultCallback& callback) = 0;
+ virtual void SetForceUpdateOnPageLoadForOrigin(const GURL& origin) = 0;
Devlin 2015/11/11 17:10:29 Nit: This probably doesn't fall into the comment a
lazyboy 2015/11/11 22:34:03 Done.
// Returns true if a Service Worker registration exists that matches |url|,
// and if |other_url| falls inside the scope of the same registration. Note

Powered by Google App Engine
This is Rietveld 408576698