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

Unified Diff: content/browser/quota/mock_quota_manager.cc

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: content/browser/quota/mock_quota_manager.cc
diff --git a/content/browser/quota/mock_quota_manager.cc b/content/browser/quota/mock_quota_manager.cc
index 73407970de53a73d28cea6edf0eadad2994108eb..3c411706d571bb675ea378ed1e45ab0b83be3ba0 100644
--- a/content/browser/quota/mock_quota_manager.cc
+++ b/content/browser/quota/mock_quota_manager.cc
@@ -44,14 +44,15 @@ MockQuotaManager::MockQuotaManager(
profile_path,
io_thread,
db_thread,
- special_storage_policy),
+ special_storage_policy,
+ storage::GetTemporaryStorageConfigurationFunc()),
weak_factory_(this) {
}
void MockQuotaManager::GetUsageAndQuota(
const GURL& origin,
storage::StorageType type,
- const GetUsageAndQuotaCallback& callback) {
+ const UsageAndQuotaCallback& callback) {
StorageInfo& info = usage_and_quota_map_[std::make_pair(origin, type)];
callback.Run(storage::kQuotaStatusOk, info.usage, info.quota);
}

Powered by Google App Engine
This is Rietveld 408576698