Index: webkit/quota/mock_storage_client.h |
diff --git a/webkit/quota/mock_storage_client.h b/webkit/quota/mock_storage_client.h |
index 7a25c44021dbe79601e64ecfd6f61aba10467e00..bf381adc3d244571b360cc18002725f4fc5bd163 100644 |
--- a/webkit/quota/mock_storage_client.h |
+++ b/webkit/quota/mock_storage_client.h |
@@ -11,6 +11,7 @@ |
#include "base/compiler_specific.h" |
#include "base/task.h" |
+#include "base/time.h" |
#include "googleurl/src/gurl.h" |
#include "webkit/quota/quota_client.h" |
@@ -39,6 +40,8 @@ class MockStorageClient : public QuotaClient { |
void AddOriginToErrorSet(const GURL& origin_url, StorageType type); |
+ base::Time IncrementMockTime(); |
+ |
// QuotaClient methods. |
virtual QuotaClient::ID id() const OVERRIDE; |
virtual void OnQuotaManagerDestroyed() OVERRIDE; |
@@ -78,6 +81,8 @@ class MockStorageClient : public QuotaClient { |
std::set<GetOriginsCallback*> origins_callbacks_; |
std::set<DeletionCallback*> deletion_callbacks_; |
+ int mock_time_counter_; |
+ |
ScopedRunnableMethodFactory<MockStorageClient> runnable_factory_; |
DISALLOW_COPY_AND_ASSIGN(MockStorageClient); |