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

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

Issue 2592793002: Revert of Change how the quota system computes the total poolsize for temporary storage (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « content/browser/quota/mock_quota_manager.h ('k') | content/browser/quota/mock_quota_manager_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 65e197a109b198adda47d2c33ffd71ea2d84785a..73407970de53a73d28cea6edf0eadad2994108eb 100644
--- a/content/browser/quota/mock_quota_manager.cc
+++ b/content/browser/quota/mock_quota_manager.cc
@@ -44,13 +44,14 @@ MockQuotaManager::MockQuotaManager(
profile_path,
io_thread,
db_thread,
- special_storage_policy,
- storage::GetQuotaSettingsFunc()),
- weak_factory_(this) {}
+ special_storage_policy),
+ weak_factory_(this) {
+}
-void MockQuotaManager::GetUsageAndQuota(const GURL& origin,
- storage::StorageType type,
- const UsageAndQuotaCallback& callback) {
+void MockQuotaManager::GetUsageAndQuota(
+ const GURL& origin,
+ storage::StorageType type,
+ const GetUsageAndQuotaCallback& callback) {
StorageInfo& info = usage_and_quota_map_[std::make_pair(origin, type)];
callback.Run(storage::kQuotaStatusOk, info.usage, info.quota);
}
« no previous file with comments | « content/browser/quota/mock_quota_manager.h ('k') | content/browser/quota/mock_quota_manager_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698