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 STORAGE_COMMON_QUOTA_QUOTA_TYPES_H_ | 5 #ifndef STORAGE_COMMON_QUOTA_QUOTA_TYPES_H_ |
6 #define STORAGE_COMMON_QUOTA_QUOTA_TYPES_H_ | 6 #define STORAGE_COMMON_QUOTA_QUOTA_TYPES_H_ |
7 | 7 |
8 #include "storage/common/quota/quota_status_code.h" | 8 #include "storage/common/quota/quota_status_code.h" |
9 | 9 |
10 namespace storage { | 10 namespace storage { |
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 kStorageTypeDurable, |
| 19 kStorageTypeLast = kStorageTypeDurable |
19 }; | 20 }; |
20 | 21 |
21 enum QuotaLimitType { | 22 enum QuotaLimitType { |
22 kQuotaLimitTypeUnknown, | 23 kQuotaLimitTypeUnknown, |
23 kQuotaLimitTypeLimited, | 24 kQuotaLimitTypeLimited, |
24 kQuotaLimitTypeUnlimited, | 25 kQuotaLimitTypeUnlimited, |
25 kQuotaLimitTypeLast = kQuotaLimitTypeUnlimited | 26 kQuotaLimitTypeLast = kQuotaLimitTypeUnlimited |
26 }; | 27 }; |
27 | 28 |
28 } // namespace storage | 29 } // namespace storage |
29 | 30 |
30 #endif // STORAGE_COMMON_QUOTA_QUOTA_TYPES_H_ | 31 #endif // STORAGE_COMMON_QUOTA_QUOTA_TYPES_H_ |
OLD | NEW |