OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_COMMON_QUOTA_QUOTA_TYPES_H_ | 5 #ifndef WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_ |
6 #define WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_ | 6 #define WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_ |
7 | 7 |
8 #include "webkit/common/quota/quota_status_code.h" | 8 #include "storage/common/quota/quota_status_code.h" |
9 | 9 |
10 namespace quota { | 10 namespace quota { |
11 | 11 |
12 enum StorageType { | 12 enum StorageType { |
13 kStorageTypeTemporary, | 13 kStorageTypeTemporary, |
14 kStorageTypePersistent, | 14 kStorageTypePersistent, |
15 kStorageTypeSyncable, | 15 kStorageTypeSyncable, |
16 kStorageTypeQuotaNotManaged, | 16 kStorageTypeQuotaNotManaged, |
17 kStorageTypeUnknown, | 17 kStorageTypeUnknown, |
18 kStorageTypeLast = kStorageTypeUnknown | 18 kStorageTypeLast = kStorageTypeUnknown |
19 }; | 19 }; |
20 | 20 |
21 enum QuotaLimitType { | 21 enum QuotaLimitType { |
22 kQuotaLimitTypeUnknown, | 22 kQuotaLimitTypeUnknown, |
23 kQuotaLimitTypeLimited, | 23 kQuotaLimitTypeLimited, |
24 kQuotaLimitTypeUnlimited, | 24 kQuotaLimitTypeUnlimited, |
25 }; | 25 }; |
26 | 26 |
27 } // namespace quota | 27 } // namespace quota |
28 | 28 |
29 #endif // WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_ | 29 #endif // WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_ |
OLD | NEW |