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

Unified Diff: webkit/quota/mock_storage_client.h

Issue 7168019: Implement QM::GetOriginsModifiedSince for browser data deleter support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reflected comments Created 9 years, 6 months 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
« no previous file with comments | « no previous file | webkit/quota/mock_storage_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | webkit/quota/mock_storage_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698