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

Unified Diff: content/browser/appcache/appcache_storage_impl_unittest.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
Index: content/browser/appcache/appcache_storage_impl_unittest.cc
diff --git a/content/browser/appcache/appcache_storage_impl_unittest.cc b/content/browser/appcache/appcache_storage_impl_unittest.cc
index d1ed641172ca88cc71df4405aebffc6dacdcb0cc..b754546fd7228d0b7a043939d8bb3e3d452af082 100644
--- a/content/browser/appcache/appcache_storage_impl_unittest.cc
+++ b/content/browser/appcache/appcache_storage_impl_unittest.cc
@@ -277,13 +277,12 @@ class AppCacheStorageImplTest : public testing::Test {
base::FilePath(),
io_thread->task_runner().get(),
db_thread->task_runner().get(),
- nullptr,
- storage::GetQuotaSettingsFunc()),
+ NULL),
async_(false) {}
void GetUsageAndQuota(const GURL& origin,
storage::StorageType type,
- const UsageAndQuotaCallback& callback) override {
+ const GetUsageAndQuotaCallback& callback) override {
EXPECT_EQ(storage::kStorageTypeTemporary, type);
if (async_) {
base::ThreadTaskRunnerHandle::Get()->PostTask(
@@ -294,7 +293,7 @@ class AppCacheStorageImplTest : public testing::Test {
CallCallback(callback);
}
- void CallCallback(const UsageAndQuotaCallback& callback) {
+ void CallCallback(const GetUsageAndQuotaCallback& callback) {
callback.Run(storage::kQuotaStatusOk, 0, kMockQuota);
}
@@ -346,7 +345,7 @@ class AppCacheStorageImplTest : public testing::Test {
void GetUsageAndQuota(base::SequencedTaskRunner* original_task_runner,
const GURL& origin,
storage::StorageType type,
- const UsageAndQuotaCallback& callback) override {}
+ const GetUsageAndQuotaCallback& callback) override {}
int notify_storage_accessed_count_;
int notify_storage_modified_count_;

Powered by Google App Engine
This is Rietveld 408576698