| 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..b63162ab6084bc2ce55c49690aa73a57f2b1a2ef 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 GetCurrentMockTime();
|
| +
|
| // 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 virtual_time_counter_;
|
| +
|
| ScopedRunnableMethodFactory<MockStorageClient> runnable_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MockStorageClient);
|
|
|