Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2387)

Unified Diff: base/json/json_parser.h

Issue 2475583002: Adds option for JSON reader to allow invalid utf characters (Closed)
Patch Set: cleanup Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/json/json_parser.h
diff --git a/base/json/json_parser.h b/base/json/json_parser.h
index 11a51115de4e4b8c8869a9e1dc02e826b888c606..9bdd89d2f76de38fe8ed8c4c2cf98083a0d17a1b 100644
--- a/base/json/json_parser.h
+++ b/base/json/json_parser.h
@@ -257,6 +257,7 @@ class BASE_EXPORT JSONParser {
FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeLiterals);
FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ConsumeNumbers);
FRIEND_TEST_ALL_PREFIXES(JSONParserTest, ErrorMessages);
+ FRIEND_TEST_ALL_PREFIXES(JSONParserTest, KeepInvalidCharacters);
DISALLOW_COPY_AND_ASSIGN(JSONParser);
};

Powered by Google App Engine
This is Rietveld 408576698