Index: content/renderer/v8_value_converter_impl.h |
diff --git a/content/renderer/v8_value_converter_impl.h b/content/renderer/v8_value_converter_impl.h |
index f5ad10a4b81476d240ff5f74561c460fdb755fb6..20331648fab6e41c6e64c1e0235928e8dd1057a3 100644 |
--- a/content/renderer/v8_value_converter_impl.h |
+++ b/content/renderer/v8_value_converter_impl.h |
@@ -30,6 +30,7 @@ class CONTENT_EXPORT V8ValueConverterImpl : public V8ValueConverter { |
virtual void SetRegExpAllowed(bool val) OVERRIDE; |
virtual void SetFunctionAllowed(bool val) OVERRIDE; |
virtual void SetStripNullFromObjects(bool val) OVERRIDE; |
+ virtual void SetStrategy(Strategy* strategy) OVERRIDE; |
virtual v8::Handle<v8::Value> ToV8Value( |
const base::Value* value, |
v8::Handle<v8::Context> context) const OVERRIDE; |
@@ -76,6 +77,9 @@ class CONTENT_EXPORT V8ValueConverterImpl : public V8ValueConverter { |
bool avoid_identity_hash_for_testing_; |
+ // Strategy object that changes the converter's behavior. |
+ Strategy* strategy_; |
+ |
DISALLOW_COPY_AND_ASSIGN(V8ValueConverterImpl); |
}; |