| Index: content/public/renderer/v8_value_converter.h
|
| diff --git a/content/public/renderer/v8_value_converter.h b/content/public/renderer/v8_value_converter.h
|
| index 6e785c143a070ea4c0d5e5a639380a128b178efc..bed8cdbac60ef70c5b4ccdd44e5f08e317c211e6 100644
|
| --- a/content/public/renderer/v8_value_converter.h
|
| +++ b/content/public/renderer/v8_value_converter.h
|
| @@ -28,6 +28,17 @@ class CONTENT_EXPORT V8ValueConverter {
|
|
|
| virtual ~V8ValueConverter() {}
|
|
|
| + // Use the following setters to support additional types other than the
|
| + // default ones.
|
| + virtual bool GetUndefinedAllowed() const = 0;
|
| + virtual void SetUndefinedAllowed(bool val) = 0;
|
| +
|
| + virtual bool GetDateAllowed() const = 0;
|
| + virtual void SetDateAllowed(bool val) = 0;
|
| +
|
| + virtual bool GetRegexpAllowed() const = 0;
|
| + virtual void SetRegexpAllowed(bool val) = 0;
|
| +
|
| // Converts Value to v8::Value. Unsupported types are replaced with null.
|
| // If an array or object throws while setting a value, that property or item
|
| // is skipped, leaving a hole in the case of arrays.
|
|
|