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

Unified Diff: storage/browser/quota/quota_manager.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: Created 4 years, 9 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/quota_manager.h
diff --git a/storage/browser/quota/quota_manager.h b/storage/browser/quota/quota_manager.h
index d3f3a3f338f8c3ea860f2ed4e776628149c1cb29..052f5107114073e52fd988293aaebc1d17932433 100644
--- a/storage/browser/quota/quota_manager.h
+++ b/storage/browser/quota/quota_manager.h
@@ -450,6 +450,11 @@ class STORAGE_EXPORT QuotaManager
const base::Callback<bool(QuotaDatabase*)>& task,
const base::Callback<void(bool)>& reply);
+ static void CalculateTemporaryPoolSize(
+ GetVolumeInfoFn get_vol_info_fn,
+ const base::FilePath& profile_path,
+ const QuotaCallback& callback,
+ const scoped_refptr<base::TaskRunner>& reply_runner);
jsbell 2016/03/23 18:08:29 Passing in a reply task runner seems odd. I'd expe
michaeln 2016/04/07 00:32:34 Done.
static int64_t CallGetAmountOfFreeDiskSpace(
GetVolumeInfoFn get_vol_info_fn,
const base::FilePath& profile_path);

Powered by Google App Engine
This is Rietveld 408576698