Index: base/json/json_parser.h |
diff --git a/base/json/json_parser.h b/base/json/json_parser.h |
index 57c07ba10aaf5f36c51c1ee51362e79e5658d6d2..6d6ca6fa282073bb8887155a889ad68929c29baa 100644 |
--- a/base/json/json_parser.h |
+++ b/base/json/json_parser.h |
@@ -58,6 +58,9 @@ class BASE_EXPORT JSONParser { |
// Returns the human-friendly error message. |
std::string GetErrorMessage() const; |
+ int error_line() const; |
Nico
2016/01/13 20:50:39
Add a comment that explains when these return vali
horo
2016/01/14 02:25:45
Done.
|
+ int error_column() const; |
Nico
2016/01/13 20:50:39
There's so much error data here now -- does it mak
horo
2016/01/14 02:25:45
That sound good.
I will create another CL.
|
+ |
private: |
enum Token { |
T_OBJECT_BEGIN, // { |