Index: base/values.h |
diff --git a/base/values.h b/base/values.h |
index ac226fa8da110854c0c3868c5991bc557f1f799c..f020405b6a17c45cdb3aa41c9df26059cd4768c0 100644 |
--- a/base/values.h |
+++ b/base/values.h |
@@ -92,6 +92,7 @@ class Value { |
virtual bool GetAsReal(double* out_value) const; |
virtual bool GetAsString(std::string* out_value) const; |
virtual bool GetAsString(string16* out_value) const; |
+ virtual bool GetAsList(ListValue** out_value); |
// This creates a deep copy of the entire Value tree, and returns a pointer |
// to the copy. The caller gets ownership of the copy, of course. |
@@ -366,6 +367,7 @@ class ListValue : public Value { |
~ListValue(); |
// Subclassed methods |
+ virtual bool GetAsList(ListValue** out_value); |
Value* DeepCopy() const; |
virtual bool Equals(const Value* other) const; |