Index: base/values.h |
diff --git a/base/values.h b/base/values.h |
index 2f41215e6b06b4bd62b60ed89797ceaf3e3e0c65..185729d087de5052c3006ead38acb6a24b8fd530 100644 |
--- a/base/values.h |
+++ b/base/values.h |
@@ -87,6 +87,7 @@ class BASE_EXPORT Value { |
// Returns true if the current object represents a given type. |
bool IsType(Type type) const { return type == type_; } |
+ virtual BinaryValue* AsBinary(); |
virtual ListValue* AsList(); |
// These methods allow the convenient retrieval of settings. |
@@ -195,6 +196,7 @@ class BASE_EXPORT BinaryValue: public Value { |
const char* GetBuffer() const { return buffer_; } |
// Overridden from Value: |
+ virtual BinaryValue* AsBinary() OVERRIDE; |
virtual BinaryValue* DeepCopy() const OVERRIDE; |
virtual bool Equals(const Value* other) const OVERRIDE; |