Chromium Code Reviews| 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_. |