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

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

Issue 672943002: [ServiceWorkerCache] Return the real size of the cache in GetOriginUsage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quota_modified
Patch Set: Address comments from PS5 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_cache_storage_manager.h
diff --git a/content/browser/service_worker/service_worker_cache_storage_manager.h b/content/browser/service_worker/service_worker_cache_storage_manager.h
index 0d568acecbc2cf7cb1044a24484f966e2a785f73..b549fbba722b811e47ccc80efa9f111c1733a2a9 100644
--- a/content/browser/service_worker/service_worker_cache_storage_manager.h
+++ b/content/browser/service_worker/service_worker_cache_storage_manager.h
@@ -31,6 +31,7 @@ class QuotaManagerProxy;
namespace content {
class ServiceWorkerCacheQuotaClient;
+class ServiceWorkerCacheStorageManagerTest;
// Keeps track of a ServiceWorkerCacheStorage per origin. There is one
// ServiceWorkerCacheStorageManager per ServiceWorkerContextCore.
@@ -79,6 +80,7 @@ class CONTENT_EXPORT ServiceWorkerCacheStorageManager {
private:
friend class ServiceWorkerCacheQuotaClient;
+ friend class ServiceWorkerCacheStorageManagerTest;
typedef std::map<GURL, ServiceWorkerCacheStorage*>
ServiceWorkerCacheStorageMap;

Powered by Google App Engine
This is Rietveld 408576698