diff options
Diffstat (limited to 'base/json/json_reader.h')
-rw-r--r-- | base/json/json_reader.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/json/json_reader.h b/base/json/json_reader.h index 77c4e74..a6f0686 100644 --- a/base/json/json_reader.h +++ b/base/json/json_reader.h @@ -146,14 +146,12 @@ class JSONReader { bool allow_trailing_comma); private: - static std::string FormatErrorMessage(int line, int column, - const std::string& description); - - DISALLOW_COPY_AND_ASSIGN(JSONReader); - FRIEND_TEST(JSONReaderTest, Reading); FRIEND_TEST(JSONReaderTest, ErrorMessages); + static std::string FormatErrorMessage(int line, int column, + const std::string& description); + // Recursively build Value. Returns NULL if we don't have a valid JSON // string. If |is_root| is true, we verify that the root element is either // an object or an array. @@ -213,6 +211,8 @@ class JSONReader { JsonParseError error_code_; int error_line_; int error_col_; + + DISALLOW_COPY_AND_ASSIGN(JSONReader); }; } // namespace base |