Chromium Code Reviews| Index: base/json/json_reader.h |
| diff --git a/base/json/json_reader.h b/base/json/json_reader.h |
| index 45783b0cf81004f9f6796b8ba9d8438cdef19d9d..c6bcb528e3b1ad0cd44a6b8559065fe56db367f3 100644 |
| --- a/base/json/json_reader.h |
| +++ b/base/json/json_reader.h |
| @@ -107,7 +107,9 @@ class BASE_EXPORT JSONReader { |
| static scoped_ptr<Value> ReadAndReturnError(const StringPiece& json, |
| int options, // JSONParserOptions |
| int* error_code_out, |
| - std::string* error_msg_out); |
| + std::string* error_msg_out, |
| + int* error_line_out = nullptr, |
| + int* error_column_out = nullptr); |
|
Nico
2016/01/13 20:50:39
That'd also help here...
|
| // Converts a JSON parse error code into a human readable message. |
| // Returns an empty string if error_code is JSON_NO_ERROR. |