[DevTools] Roll inspector_protocol (V8)

Upstream PR: https://chromium-review.googlesource.com/c/deps/inspector_protocol/+/1990896

New rev: dee0c0c65cc2df6284e75ae9fca083dc604c9fca

Change-Id: I1a09d46ee572249bb2c3f4cbdfbc499b7e4f4aa9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1991803
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Johannes Henkel <johannes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65667}
This commit is contained in:
Johannes Henkel 2020-01-08 13:57:49 -08:00 committed by Commit Bot
parent 816ea12124
commit 65cf3663c0
3 changed files with 1 additions and 12 deletions

View File

@ -2,7 +2,7 @@ Name: inspector protocol
Short Name: inspector_protocol
URL: https://chromium.googlesource.com/deps/inspector_protocol/
Version: 0
Revision: b29d8a5d2bb56b3e555bb27a0e035a9d571c5f28
Revision: dee0c0c65cc2df6284e75ae9fca083dc604c9fca
License: BSD
License File: LICENSE
Security Critical: no

View File

@ -66,7 +66,6 @@ namespace {{param.name | to_title_case}}Enum {
class {{config.exported.export_macro}} {{type.id}} : public Exported {
public:
static std::unique_ptr<protocol::{{domain.domain}}::API::{{type.id}}> fromJSONString(const {{config.exported.string_in}}& json);
static std::unique_ptr<protocol::{{domain.domain}}::API::{{type.id}}> fromBinary(const uint8_t* data, size_t length);
};
{% endfor %}

View File

@ -125,16 +125,6 @@ void {{type.id}}::writeBinary(std::vector<uint8_t>* out) const
AppendSerialized(out);
}
// static
std::unique_ptr<API::{{type.id}}> API::{{type.id}}::fromJSONString(const {{config.exported.string_in}}& json)
{
ErrorSupport errors;
std::unique_ptr<Value> value = StringUtil::parseJSON(json);
if (!value)
return nullptr;
return protocol::{{domain.domain}}::{{type.id}}::fromValue(value.get(), &errors);
}
// static
std::unique_ptr<API::{{type.id}}> API::{{type.id}}::fromBinary(const uint8_t* data, size_t length)
{