Chromium Code Reviews| Index: storage/common/blob_storage/blob_storage_constants.h |
| diff --git a/storage/common/blob_storage/blob_storage_constants.h b/storage/common/blob_storage/blob_storage_constants.h |
| index e77c8683527875b420adb80fd0b87b357b276dce..d0e1d30a452355d6be1406f4e8e145cfd8817099 100644 |
| --- a/storage/common/blob_storage/blob_storage_constants.h |
| +++ b/storage/common/blob_storage/blob_storage_constants.h |
| @@ -32,7 +32,17 @@ enum class IPCBlobCreationCancelCode { |
| UNKNOWN = 0, |
| OUT_OF_MEMORY, |
| FILE_WRITE_FAILED, |
| - LAST = FILE_WRITE_FAILED |
| + // The renderer was destroyed while data was in transit. |
| + SOURCE_DIED_IN_TRANSIT, |
| + // The renderer destructed the blob before it was done trasfering, and there |
|
Mark P
2016/03/15 18:36:06
Who reviewed this file? "trasfering" really? :-P
dmurph
2016/03/15 22:40:14
These comments were added pretty recently. Typos f
|
| + // were no outstanding references (no one is waiting to read) to keep the |
| + // blob alive. |
| + BLOB_DEREFERENCED_WHILE_BUILDING, |
| + // A blob that we we referenced during construction is broken, or an |
| + // internal tries to build a blob with a blob reference that isn't finished |
| + // constructing. |
| + REFERENCED_BLOB_BROKEN, |
| + LAST = REFERENCED_BLOB_BROKEN |
|
Mark P
2016/03/15 18:36:06
Rather than use +1 in the UMA histogram emit line,
dmurph
2016/03/15 22:40:14
Unfortunately I'm also using this enum in IPCs, wh
Mark P
2016/03/16 19:25:50
Acknowledged.
|
| }; |
| } // namespace storage |