OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_QUOTA_QUOTA_TYPES_H_ | 5 #ifndef WEBKIT_QUOTA_QUOTA_TYPES_H_ |
6 #define WEBKIT_QUOTA_QUOTA_TYPES_H_ | 6 #define WEBKIT_QUOTA_QUOTA_TYPES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/callback.h" | 14 #include "base/callback_old.h" |
15 #include "base/stl_util-inl.h" | 15 #include "base/stl_util-inl.h" |
16 | 16 |
17 namespace quota { | 17 namespace quota { |
18 | 18 |
19 enum StorageType { | 19 enum StorageType { |
20 kStorageTypeTemporary, | 20 kStorageTypeTemporary, |
21 kStorageTypePersistent, | 21 kStorageTypePersistent, |
22 kStorageTypeUnknown, | 22 kStorageTypeUnknown, |
23 }; | 23 }; |
24 | 24 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 }; | 166 }; |
167 | 167 |
168 typedef CallbackQueueMap2<HostUsageCallback*, std::string, | 168 typedef CallbackQueueMap2<HostUsageCallback*, std::string, |
169 const std::string&, int64> HostUsageCallbackMap; | 169 const std::string&, int64> HostUsageCallbackMap; |
170 typedef CallbackQueueMap2<HostUsageCallback*, std::string, | 170 typedef CallbackQueueMap2<HostUsageCallback*, std::string, |
171 const std::string&, int64> HostQuotaCallbackMap; | 171 const std::string&, int64> HostQuotaCallbackMap; |
172 | 172 |
173 } // namespace quota | 173 } // namespace quota |
174 | 174 |
175 #endif // WEBKIT_QUOTA_QUOTA_TYPES_H_ | 175 #endif // WEBKIT_QUOTA_QUOTA_TYPES_H_ |
OLD | NEW |