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

Unified Diff: storage/common/data_element.h

Issue 2448353002: [BlobAsync] Moving async handling into BlobStorageContext & quota out. (Closed)
Patch Set: comments Created 4 years, 1 month 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
« no previous file with comments | « storage/common/blob_storage/blob_storage_constants.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/common/data_element.h
diff --git a/storage/common/data_element.h b/storage/common/data_element.h
index 276181b6ec97d9a92a5b1ce4c43c05c3a8831faa..744cc99d11cbc31f6119ffd8da10ed4655d0852d 100644
--- a/storage/common/data_element.h
+++ b/storage/common/data_element.h
@@ -26,6 +26,8 @@ namespace storage {
// bytes, file or blob data.
class STORAGE_COMMON_EXPORT DataElement {
public:
+ static const uint64_t kUnknownSize = std::numeric_limits<uint64_t>::max();
+
enum Type {
TYPE_UNKNOWN = -1,
TYPE_BYTES,
« no previous file with comments | « storage/common/blob_storage/blob_storage_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698