OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BASE_JSON_JSON_PARSER_H_ | 5 #ifndef BASE_JSON_JSON_PARSER_H_ |
6 #define BASE_JSON_JSON_PARSER_H_ | 6 #define BASE_JSON_JSON_PARSER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 int error_column_; | 250 int error_column_; |
251 | 251 |
252 friend class JSONParserTest; | 252 friend class JSONParserTest; |
253 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, NextChar); | 253 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, NextChar); |
254 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeDictionary); | 254 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeDictionary); |
255 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeList); | 255 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeList); |
256 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeString); | 256 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeString); |
257 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeLiterals); | 257 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeLiterals); |
258 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeNumbers); | 258 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeNumbers); |
259 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ErrorMessages); | 259 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ErrorMessages); |
| 260 FRIEND_TEST_ALL_PREFIXES(JSONParserTest, KeepInvalidCharacters); |
260 | 261 |
261 DISALLOW_COPY_AND_ASSIGN(JSONParser); | 262 DISALLOW_COPY_AND_ASSIGN(JSONParser); |
262 }; | 263 }; |
263 | 264 |
264 } // namespace internal | 265 } // namespace internal |
265 } // namespace base | 266 } // namespace base |
266 | 267 |
267 #endif // BASE_JSON_JSON_PARSER_H_ | 268 #endif // BASE_JSON_JSON_PARSER_H_ |
OLD | NEW |