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

Unified Diff: webkit/quota/quota_types.h

Issue 10948006: Cleanup: quota::HostQuotaCallback do not need to pass host and type as arguments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed missed compile errors in unit_tests and fixed broken QuotaManagerTests Created 8 years, 3 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/quota/quota_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_types.h
diff --git a/webkit/quota/quota_types.h b/webkit/quota/quota_types.h
index c478c96a214f9b7dc0f3d1c9aae39f0f922adce8..aab070e350c64a9555bfaa556a7885e151408086 100644
--- a/webkit/quota/quota_types.h
+++ b/webkit/quota/quota_types.h
@@ -46,12 +46,9 @@ typedef base::Callback<void(StorageType status,
typedef base::Callback<void(QuotaStatusCode status,
StorageType type,
int64 quota)> QuotaCallback;
-// TODO(kinuko,nhiroki): HostUsageCallback could be probably replaced with
-// simple Callback<void(int64)> callback by binding host and type with Bind.
typedef base::Callback<void(int64 usage)> UsageCallback;
+// TODO(calvinlo): Merge HostQuotaCallback and QuotaCallback
typedef base::Callback<void(QuotaStatusCode status,
- const std::string& host,
- StorageType type,
int64 quota)> HostQuotaCallback;
typedef base::Callback<void(QuotaStatusCode, int64)> AvailableSpaceCallback;
typedef base::Callback<void(QuotaStatusCode)> StatusCallback;
« no previous file with comments | « webkit/quota/quota_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698