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

Unified Diff: webkit/browser/quota/mock_quota_manager.h

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/quota/mock_quota_manager.h
diff --git a/webkit/browser/quota/mock_quota_manager.h b/webkit/browser/quota/mock_quota_manager.h
index 3fb9e1545229541dcbfd2b4d9fbe59c00664f8f1..c99bbdb9c20b87939189d2e7bf4b347274844629 100644
--- a/webkit/browser/quota/mock_quota_manager.h
+++ b/webkit/browser/quota/mock_quota_manager.h
@@ -151,8 +151,18 @@ class MockQuotaManagerProxy : public QuotaManagerProxy {
// We don't mock them.
virtual void NotifyOriginInUse(const GURL& origin) OVERRIDE {}
virtual void NotifyOriginNoLongerInUse(const GURL& origin) OVERRIDE {}
+ virtual void SetUsageCacheEnabled(QuotaClient::ID client_id,
+ const GURL& origin,
+ StorageType type,
+ bool enabled) OVERRIDE {}
+ virtual void GetUsageAndQuota(
+ base::SingleThreadTaskRunner* original_task_runner,
+ const GURL& origin,
+ StorageType type,
+ const QuotaManager::GetUsageAndQuotaCallback& callback) OVERRIDE {}
// Validates the |client_id| and updates the internal access count
+ // id SetUsageCacheEnabled()
nhiroki 2013/11/06 06:02:16 Will be removed.
// which can be accessed via notify_storage_accessed_count().
// The also records the |origin| and |type| in last_notified_origin_ and
// last_notified_type_.

Powered by Google App Engine
This is Rietveld 408576698