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

Unified Diff: lib/Parser_cpp.template

Issue 2490733002: [inspector_protocol] Allow custom json parser. (Closed)
Patch Set: 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
« no previous file with comments | « lib/Object_cpp.template ('k') | lib/Parser_h.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Parser_cpp.template
diff --git a/lib/Parser_cpp.template b/lib/Parser_cpp.template
index a103b8228e066e0110bceae8267e1dd070eeb202..11a60639dfd0dfbef8ad0618caa6163d1063c34a 100644
--- a/lib/Parser_cpp.template
+++ b/lib/Parser_cpp.template
@@ -538,12 +538,12 @@ std::unique_ptr<Value> parseJSONInternal(const Char* start, unsigned length)
} // anonymous namespace
-std::unique_ptr<Value> parseJSON(const uint16_t* characters, unsigned length)
+std::unique_ptr<Value> parseJSONCharacters(const uint16_t* characters, unsigned length)
{
return parseJSONInternal<uint16_t>(characters, length);
}
-std::unique_ptr<Value> parseJSON(const uint8_t* characters, unsigned length)
+std::unique_ptr<Value> parseJSONCharacters(const uint8_t* characters, unsigned length)
{
return parseJSONInternal<uint8_t>(characters, length);
}
« no previous file with comments | « lib/Object_cpp.template ('k') | lib/Parser_h.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698