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

Unified Diff: storage/browser/quota/usage_tracker.h

Issue 1782053004: Change how the quota system computes the total poolsize for temporary storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: big delta Created 4 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: storage/browser/quota/usage_tracker.h
diff --git a/storage/browser/quota/usage_tracker.h b/storage/browser/quota/usage_tracker.h
index 994fc584635579e7da58ccd7e0b266d3050bcf18..1017048c7cf0fbff6964960a387e7dc37aacfc22 100644
--- a/storage/browser/quota/usage_tracker.h
+++ b/storage/browser/quota/usage_tracker.h
@@ -47,8 +47,9 @@ class STORAGE_EXPORT UsageTracker : public QuotaTaskObserver {
void UpdateUsageCache(QuotaClient::ID client_id,
const GURL& origin,
int64_t delta);
- void GetCachedOriginsUsage(std::map<GURL, int64_t>* origin_usage) const;
+ int64_t GetCachedUsage() const;
void GetCachedHostsUsage(std::map<std::string, int64_t>* host_usage) const;
+ void GetCachedOriginsUsage(std::map<GURL, int64_t>* origin_usage) const;
void GetCachedOrigins(std::set<GURL>* origins) const;
bool IsWorking() const {
return global_usage_callbacks_.HasCallbacks() ||

Powered by Google App Engine
This is Rietveld 408576698