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

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

Issue 647953003: Service Worker script sizes in database. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Fixed crash where writer_ was null Created 6 years, 2 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.proto
diff --git a/content/browser/service_worker/service_worker_database.proto b/content/browser/service_worker/service_worker_database.proto
index c2223ecdd763f7b86f4b218725f21910350d87f3..bb4acef1fbfc71711096014294bb3f4ce5afb813 100644
--- a/content/browser/service_worker/service_worker_database.proto
+++ b/content/browser/service_worker/service_worker_database.proto
@@ -23,9 +23,12 @@ message ServiceWorkerRegistrationData {
// Serialized by Time::ToInternalValue().
required int64 last_update_check_time = 7;
+
+ optional uint64 resources_total_size_bytes = 8;
}
message ServiceWorkerResourceRecord {
required int64 resource_id = 1;
required string url = 2;
+ optional uint64 size_bytes = 3;
}

Powered by Google App Engine
This is Rietveld 408576698