| Index: extensions/renderer/argument_spec.h
|
| diff --git a/extensions/renderer/argument_spec.h b/extensions/renderer/argument_spec.h
|
| index 66b87a1d5ec9fa91e80567231c1c886ba44619ea..922d99282f99b34f62b1ee3e4c7a41dddfddfe96 100644
|
| --- a/extensions/renderer/argument_spec.h
|
| +++ b/extensions/renderer/argument_spec.h
|
| @@ -113,6 +113,10 @@ class ArgumentSpec {
|
| std::unique_ptr<base::Value>* out_value,
|
| std::string* error) const;
|
|
|
| + // Returns an error message indicating the type of |value| does not match the
|
| + // expected type.
|
| + std::string GetInvalidTypeError(v8::Local<v8::Value> value) const;
|
| +
|
| // The name of the argument.
|
| std::string name_;
|
|
|
|
|