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 STORAGE_COMMON_BLOB_STORAGE_BLOB_STORAGE_CONSTANTS_H_ | 5 #ifndef STORAGE_COMMON_BLOB_STORAGE_BLOB_STORAGE_CONSTANTS_H_ |
6 #define STORAGE_COMMON_BLOB_STORAGE_BLOB_STORAGE_CONSTANTS_H_ | 6 #define STORAGE_COMMON_BLOB_STORAGE_BLOB_STORAGE_CONSTANTS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 IPC, | 25 IPC, |
26 SHARED_MEMORY, | 26 SHARED_MEMORY, |
27 FILE, | 27 FILE, |
28 LAST = FILE | 28 LAST = FILE |
29 }; | 29 }; |
30 | 30 |
31 enum class IPCBlobCreationCancelCode { | 31 enum class IPCBlobCreationCancelCode { |
32 UNKNOWN = 0, | 32 UNKNOWN = 0, |
33 OUT_OF_MEMORY, | 33 OUT_OF_MEMORY, |
34 FILE_WRITE_FAILED, | 34 FILE_WRITE_FAILED, |
35 LAST = FILE_WRITE_FAILED | 35 // The renderer was destroyed while data was in transit. |
| 36 SOURCE_DIED_IN_TRANSIT, |
| 37 LAST = SOURCE_DIED_IN_TRANSIT |
36 }; | 38 }; |
37 | 39 |
38 } // namespace storage | 40 } // namespace storage |
39 | 41 |
40 #endif // STORAGE_COMMON_BLOB_STORAGE_BLOB_STORAGE_CONSTANTS_H_ | 42 #endif // STORAGE_COMMON_BLOB_STORAGE_BLOB_STORAGE_CONSTANTS_H_ |
OLD | NEW |