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

Unified Diff: webkit/browser/appcache/appcache_storage_impl_unittest.cc

Issue 59753008: Quota: Add proxy for QuotaManager::GetUsageAndQuota (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: webkit/browser/appcache/appcache_storage_impl_unittest.cc
diff --git a/webkit/browser/appcache/appcache_storage_impl_unittest.cc b/webkit/browser/appcache/appcache_storage_impl_unittest.cc
index 615b53d246bf7a6da21f613a9cbac70a7eeafb56..0f495d99c71e03e94f934161e714498e698b700f 100644
--- a/webkit/browser/appcache/appcache_storage_impl_unittest.cc
+++ b/webkit/browser/appcache/appcache_storage_impl_unittest.cc
@@ -321,6 +321,15 @@ class AppCacheStorageImplTest : public testing::Test {
virtual void RegisterClient(quota::QuotaClient* client) OVERRIDE {}
virtual void NotifyOriginInUse(const GURL& origin) OVERRIDE {}
virtual void NotifyOriginNoLongerInUse(const GURL& origin) OVERRIDE {}
+ virtual void SetUsageCacheEnabled(quota::QuotaClient::ID client_id,
+ const GURL& origin,
+ quota::StorageType type,
+ bool enabled) OVERRIDE {}
+ virtual void GetUsageAndQuota(
+ base::SingleThreadTaskRunner* original_task_runner,
kinuko 2013/11/06 06:07:26 Is this going to be always single-threaded? Then m
tzik 2013/11/06 06:10:43 Can we use SequencedTaskRunner instead of SingleTh
nhiroki 2013/11/06 06:20:17 Oops... I meant SequencedTaskRunner. Thanks! Done.
+ const GURL& origin,
+ quota::StorageType type,
+ const GetUsageAndQuotaCallback& callback) OVERRIDE {}
int notify_storage_accessed_count_;
int notify_storage_modified_count_;

Powered by Google App Engine
This is Rietveld 408576698