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

Unified Diff: content/browser/service_worker/service_worker_database.h

Issue 2771823002: Implement updateViaCache flag and no-cache by default for main service worker scripts
Patch Set: change useCache to updateViaCache Created 3 years, 6 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_database.h
diff --git a/content/browser/service_worker/service_worker_database.h b/content/browser/service_worker/service_worker_database.h
index c142203eac63501c077559d1fe08ba96d6dfad69..e3cd447302248d8857705855c0f2099f6c96106a 100644
--- a/content/browser/service_worker/service_worker_database.h
+++ b/content/browser/service_worker/service_worker_database.h
@@ -35,7 +35,7 @@ class DB;
class Env;
class Status;
class WriteBatch;
-}
+} // namespace leveldb
namespace content {
@@ -66,6 +66,7 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
// These values are immutable for the life of a registration.
int64_t registration_id;
GURL scope;
+ blink::WebServiceWorkerUpdateViaCache update_via_cache;
// Versions are first stored once they successfully install and become
// the waiting version. Then transition to the active version. The stored

Powered by Google App Engine
This is Rietveld 408576698