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

Unified Diff: webkit/quota/mock_quota_manager.h

Issue 8070001: Use base::Callback in Quota related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 2 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 | « webkit/fileapi/obfuscated_file_util_unittest.cc ('k') | webkit/quota/mock_quota_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/mock_quota_manager.h
diff --git a/webkit/quota/mock_quota_manager.h b/webkit/quota/mock_quota_manager.h
index 636404d7e8e504eee599fb9bfd618ab45acc254e..1f6fb0b1e3ae15c3adaaac28a1a9cba1d9ebefce 100644
--- a/webkit/quota/mock_quota_manager.h
+++ b/webkit/quota/mock_quota_manager.h
@@ -59,15 +59,17 @@ class MockQuotaManager : public QuotaManager {
// Overrides QuotaManager's implementation with a canned implementation that
// allows clients to set up the origin database that should be queried. This
// method will only search through the origins added explicitly via AddOrigin.
- virtual void GetOriginsModifiedSince(StorageType type,
- base::Time modified_since,
- GetOriginsCallback* callback) OVERRIDE;
+ virtual void GetOriginsModifiedSince(
+ StorageType type,
+ base::Time modified_since,
+ const GetOriginsCallback& callback) OVERRIDE;
// Removes an origin from the canned list of origins, but doesn't touch
// anything on disk.
virtual void DeleteOriginData(const GURL& origin,
StorageType type,
- StatusCallback* callback) OVERRIDE;
+ const StatusCallback& callback) OVERRIDE;
+
private:
class GetModifiedSinceTask;
class DeleteOriginDataTask;
@@ -80,4 +82,4 @@ class MockQuotaManager : public QuotaManager {
} // namespace quota
-#endif // WEBKIT_QUOTA_MOCK_QUOTA_MANAGER_H_
+#endif // WEBKIT_QUOTA_MOCK_QUOTA_MANAGER_H_
« no previous file with comments | « webkit/fileapi/obfuscated_file_util_unittest.cc ('k') | webkit/quota/mock_quota_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698