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

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

Issue 672813002: [ServiceWorker] Added size deltas and total size computation for QuotaM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added tests 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_info.h
diff --git a/content/browser/service_worker/service_worker_info.h b/content/browser/service_worker/service_worker_info.h
index 218d154c53ddce4cd9b4e6bc6e7c1a3d95772346..0e93bd0748b6eae01a905130d8d5b7f7f1f1bf2a 100644
--- a/content/browser/service_worker/service_worker_info.h
+++ b/content/browser/service_worker/service_worker_info.h
@@ -42,7 +42,8 @@ class CONTENT_EXPORT ServiceWorkerRegistrationInfo {
int64 registration_id,
const ServiceWorkerVersionInfo& active_version,
const ServiceWorkerVersionInfo& waiting_version,
- const ServiceWorkerVersionInfo& installing_version);
+ const ServiceWorkerVersionInfo& installing_version,
+ int64_t active_version_total_size_bytes);
~ServiceWorkerRegistrationInfo();
GURL pattern;
@@ -51,6 +52,8 @@ class CONTENT_EXPORT ServiceWorkerRegistrationInfo {
ServiceWorkerVersionInfo active_version;
ServiceWorkerVersionInfo waiting_version;
ServiceWorkerVersionInfo installing_version;
+
+ int64_t stored_version_size_bytes;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698