Chromium Code Reviews| Index: webkit/quota/quota_types.h |
| diff --git a/webkit/quota/quota_types.h b/webkit/quota/quota_types.h |
| index a66a9ca13bf3c0e698e5ad56444cfca47388dfe2..76ccefab2d899d449020b1ddec4912e1a4558f94 100644 |
| --- a/webkit/quota/quota_types.h |
| +++ b/webkit/quota/quota_types.h |
| @@ -48,9 +48,7 @@ typedef base::Callback<void(QuotaStatusCode status, |
| 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(const std::string& host, |
| - StorageType type, |
| - int64 host_usage)> HostUsageCallback; |
| +typedef base::Callback<void(int64 host_usage)> HostUsageCallback; |
|
kinuko
2012/09/17 19:15:42
Now this callback type doesn't necessarily be call
calvinlo
2012/09/18 05:59:18
Done.
|
| typedef base::Callback<void(QuotaStatusCode status, |
| const std::string& host, |
| StorageType type, |
| @@ -228,9 +226,8 @@ class CallbackQueueMap3 |
| } |
| }; |
| -typedef CallbackQueueMap3<HostUsageCallback, std::string, |
|
kinuko
2012/09/17 19:15:42
I guess we can probably remove CallbackQueueMap3 n
calvinlo
2012/09/18 05:59:18
Done.
|
| - const std::string&, |
| - StorageType, int64> HostUsageCallbackMap; |
| +typedef CallbackQueueMap1<HostUsageCallback, std::string, int64> |
| + HostUsageCallbackMap; |
| } // namespace quota |