Index: base/json/json_value_serializer.h |
diff --git a/base/json/json_value_serializer.h b/base/json/json_value_serializer.h |
index 650008ec235aab6d356098b7c8c5bde0c1f7b224..01564922446964c264981f02764055e0ca94a55f 100644 |
--- a/base/json/json_value_serializer.h |
+++ b/base/json/json_value_serializer.h |
@@ -38,8 +38,11 @@ class BASE_EXPORT JSONStringValueSerializer : public base::ValueSerializer { |
// Attempt to serialize the data structure represented by Value into |
// JSON. If the return value is true, the result will have been written |
- // into the string passed into the constructor. |
+ // into the string passed into the constructor. In the overloaded method, |
Jói
2011/11/10 11:08:16
Please document this separately rather than togeth
Eric Dingle
2011/11/10 15:05:25
Done.
|
+ // |ignore_binary_values| is used to indicate how the serializer should |
+ // behave when encountering a binary value. |
virtual bool Serialize(const Value& root); |
+ virtual bool Serialize(const Value& root, bool ignore_binary_values); |
// Attempt to deserialize the data structure encoded in the string passed |
// in to the constructor into a structure of Value objects. If the return |
@@ -87,6 +90,7 @@ class BASE_EXPORT JSONFileValueSerializer : public base::ValueSerializer { |
// JSON. If the return value is true, the result will have been written |
// into the file whose name was passed into the constructor. |
virtual bool Serialize(const Value& root); |
+ virtual bool Serialize(const Value& root, bool ignore_binary_values); |
// Attempt to deserialize the data structure encoded in the file passed |
// in to the constructor into a structure of Value objects. If the return |