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

Unified Diff: lib/DispatcherBase_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/Array_h.template ('k') | lib/Forward_h.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/DispatcherBase_cpp.template
diff --git a/lib/DispatcherBase_cpp.template b/lib/DispatcherBase_cpp.template
index c4f36a5fd31b286d8c9ad99b328b65017571efa5..9095cbc961c7761406eb58c76264cf13e9b1f128 100644
--- a/lib/DispatcherBase_cpp.template
+++ b/lib/DispatcherBase_cpp.template
@@ -88,7 +88,7 @@ DispatcherBase::~DispatcherBase()
// static
bool DispatcherBase::getCommandName(const String& message, String* result)
{
- std::unique_ptr<protocol::Value> value = parseJSON(message);
+ std::unique_ptr<protocol::Value> value = StringUtil::parseJSON(message);
if (!value)
return false;
« no previous file with comments | « lib/Array_h.template ('k') | lib/Forward_h.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698