Index: base/json/json_parser.cc |
diff --git a/base/json/json_parser.cc b/base/json/json_parser.cc |
index 322927548adfec6878aaf6749bcb9528c0bafa85..fbd4da45fb1405b71da3d5e4bd8387480038187c 100644 |
--- a/base/json/json_parser.cc |
+++ b/base/json/json_parser.cc |
@@ -275,6 +275,14 @@ std::string JSONParser::GetErrorMessage() const { |
JSONReader::ErrorCodeToString(error_code_)); |
} |
+int JSONParser::error_line() const { |
+ return error_line_; |
+} |
+ |
+int JSONParser::error_column() const { |
+ return error_column_; |
+} |
+ |
// StringBuilder /////////////////////////////////////////////////////////////// |
JSONParser::StringBuilder::StringBuilder() |