Index: base/values.h |
diff --git a/base/values.h b/base/values.h |
index badf118f274210470a215149d79406dc48b07de2..2bab074c60eb6e62e62d222b5faf84828d376b85 100644 |
--- a/base/values.h |
+++ b/base/values.h |
@@ -98,6 +98,9 @@ class BASE_EXPORT Value { |
explicit Value(DictStorage&& in_dict) noexcept; |
+ explicit Value(const ListStorage& in_list); |
+ explicit Value(ListStorage&& in_list) noexcept; |
+ |
Value& operator=(const Value& that); |
Value& operator=(Value&& that) noexcept; |
@@ -131,6 +134,9 @@ class BASE_EXPORT Value { |
const std::string& GetString() const; |
const BlobStorage& GetBlob() const; |
+ ListStorage& GetList(); |
+ const ListStorage& GetList() const; |
+ |
size_t GetSize() const; // DEPRECATED, use GetBlob().size() instead. |
const char* GetBuffer() const; // DEPRECATED, use GetBlob().data() instead. |