OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_COMMON_CACHE_STORAGE_CACHE_STORAGE_TYPES_H_ | 5 #ifndef CONTENT_COMMON_CACHE_STORAGE_CACHE_STORAGE_TYPES_H_ |
6 #define CONTENT_COMMON_CACHE_STORAGE_CACHE_STORAGE_TYPES_H_ | 6 #define CONTENT_COMMON_CACHE_STORAGE_CACHE_STORAGE_TYPES_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 CacheStorageCacheQueryParams match_params; | 46 CacheStorageCacheQueryParams match_params; |
47 }; | 47 }; |
48 | 48 |
49 // This enum is used in histograms, so do not change the ordering and always | 49 // This enum is used in histograms, so do not change the ordering and always |
50 // append new types to the end. | 50 // append new types to the end. |
51 enum CacheStorageError { | 51 enum CacheStorageError { |
52 CACHE_STORAGE_OK = 0, | 52 CACHE_STORAGE_OK = 0, |
53 CACHE_STORAGE_ERROR_EXISTS, | 53 CACHE_STORAGE_ERROR_EXISTS, |
54 CACHE_STORAGE_ERROR_STORAGE, | 54 CACHE_STORAGE_ERROR_STORAGE, |
55 CACHE_STORAGE_ERROR_NOT_FOUND, | 55 CACHE_STORAGE_ERROR_NOT_FOUND, |
56 CACHE_STORAGE_ERROR_LAST = CACHE_STORAGE_ERROR_NOT_FOUND | 56 CACHE_STORAGE_ERROR_QUOTA_EXCEEDED, |
| 57 CACHE_STORAGE_ERROR_LAST = CACHE_STORAGE_ERROR_QUOTA_EXCEEDED |
57 }; | 58 }; |
58 | 59 |
59 } // namespace content | 60 } // namespace content |
60 | 61 |
61 #endif // CONTENT_COMMON_CACHE_STORAGE_CACHE_STORAGE_TYPES_H_ | 62 #endif // CONTENT_COMMON_CACHE_STORAGE_CACHE_STORAGE_TYPES_H_ |
OLD | NEW |