Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: storage/common/blob_storage/blob_storage_constants.h

Issue 1234813004: [BlobAsync] Asynchronous Blob Construction Final Patch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blob-protocol-change
Patch Set: added shared memory test, and fixed memory leak Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+ // 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
};
} // namespace storage

Powered by Google App Engine
This is Rietveld 408576698