| Index: content/common/cache_storage/cache_storage_types.h
|
| diff --git a/content/common/cache_storage/cache_storage_types.h b/content/common/cache_storage/cache_storage_types.h
|
| index 26ac5e0fdeb46378a831aabcbb3114c0cd76b835..b52d5176df70a3a13d096b21579380aec7898104 100644
|
| --- a/content/common/cache_storage/cache_storage_types.h
|
| +++ b/content/common/cache_storage/cache_storage_types.h
|
| @@ -47,6 +47,16 @@ struct CONTENT_EXPORT CacheStorageBatchOperation {
|
| CacheStorageCacheQueryParams match_params;
|
| };
|
|
|
| +// This enum is used in histograms, so do not change the ordering and always
|
| +// append new types to the end.
|
| +enum CacheStorageError {
|
| + CACHE_STORAGE_OK = 0,
|
| + CACHE_STORAGE_ERROR_EXISTS,
|
| + CACHE_STORAGE_ERROR_STORAGE,
|
| + CACHE_STORAGE_ERROR_NOT_FOUND,
|
| + CACHE_STORAGE_ERROR_LAST = CACHE_STORAGE_ERROR_NOT_FOUND
|
| +};
|
| +
|
| } // namespace content
|
|
|
| #endif // CONTENT_COMMON_CACHE_STORAGE_CACHE_STORAGE_TYPES_H_
|
|
|