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

Unified Diff: storage/browser/quota/client_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: rebase 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/client_usage_tracker.h
diff --git a/storage/browser/quota/client_usage_tracker.h b/storage/browser/quota/client_usage_tracker.h
index 5b5a84b201b49bc928614954ee76b816df48c7d9..2fbe7650dcf61f07ee68249fd1203120feb33ec6 100644
--- a/storage/browser/quota/client_usage_tracker.h
+++ b/storage/browser/quota/client_usage_tracker.h
@@ -52,6 +52,7 @@ class ClientUsageTracker : public SpecialStoragePolicy::Observer,
void GetGlobalUsage(const GlobalUsageCallback& callback);
void GetHostUsage(const std::string& host, const UsageCallback& callback);
void UpdateUsageCache(const GURL& origin, int64_t delta);
+ 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;

Powered by Google App Engine
This is Rietveld 408576698