Skip to content

Commit 41d42ce

Browse files
OrKoNV8 LUCI CQ
authored andcommitted
Remove remaining Maybe references + roll of inspector_protocol
Bug: 40276207 Change-Id: I947dcbcee8f0562e25a05bb6183f10e660075f0d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6049648 Reviewed-by: Yang Guo <[email protected]> Commit-Queue: Yang Guo <[email protected]> Reviewed-by: Simon Zünd <[email protected]> Auto-Submit: Alex Rudenko <[email protected]> Cr-Commit-Position: refs/heads/main@{#97443}
1 parent a0ac6c9 commit 41d42ce

19 files changed

Lines changed: 22 additions & 92 deletions

BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4011,7 +4011,6 @@ filegroup(
40114011
"third_party/inspector_protocol/crdtp/glue.h",
40124012
"third_party/inspector_protocol/crdtp/json.cc",
40134013
"third_party/inspector_protocol/crdtp/json.h",
4014-
"third_party/inspector_protocol/crdtp/maybe.h",
40154014
"third_party/inspector_protocol/crdtp/parser_handler.h",
40164015
"third_party/inspector_protocol/crdtp/protocol_core.cc",
40174016
"third_party/inspector_protocol/crdtp/protocol_core.h",

src/inspector/injected-script.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ bool isResolvableNumberLike(String16 query) {
6565
} // namespace
6666

6767
using protocol::Array;
68-
using protocol::Maybe;
6968
using protocol::Runtime::InternalPropertyDescriptor;
7069
using protocol::Runtime::PrivatePropertyDescriptor;
7170
using protocol::Runtime::PropertyDescriptor;

src/inspector/injected-script.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ class V8InspectorImpl;
5252
class V8InspectorSessionImpl;
5353
class ValueMirror;
5454

55-
using protocol::Maybe;
5655
using protocol::Response;
5756

5857
class EvaluateCallback {

src/inspector/string-util.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,19 +114,6 @@ struct ProtocolTypeTraits<v8_inspector::protocol::Binary> {
114114
std::vector<uint8_t>* bytes);
115115
};
116116

117-
namespace detail {
118-
template <>
119-
struct MaybeTypedef<v8_inspector::String16> {
120-
typedef std::optional<v8_inspector::String16> type;
121-
};
122-
123-
template <>
124-
struct MaybeTypedef<v8_inspector::protocol::Binary> {
125-
typedef std::optional<v8_inspector::protocol::Binary> type;
126-
};
127-
128-
} // namespace detail
129-
130117
} // namespace v8_crdtp
131118

132119
#endif // V8_INSPECTOR_STRING_UTIL_H_

src/inspector/v8-debugger-agent-impl.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
namespace v8_inspector {
3535

3636
using protocol::Array;
37-
using protocol::Maybe;
3837
using protocol::Debugger::BreakpointId;
3938
using protocol::Debugger::CallFrame;
4039
using protocol::Debugger::Scope;

src/inspector/v8-debugger-agent-impl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class V8InspectorImpl;
2626
class V8InspectorSessionImpl;
2727
class V8Regex;
2828

29-
using protocol::Maybe;
3029
using protocol::Response;
3130

3231
class V8DebuggerAgentImpl : public protocol::Debugger::Backend {

src/inspector/v8-heap-profiler-agent-impl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ namespace v8_inspector {
1919

2020
class V8InspectorSessionImpl;
2121

22-
using protocol::Maybe;
2322
using protocol::Response;
2423

2524
class V8HeapProfilerAgentImpl : public protocol::HeapProfiler::Backend {

src/inspector/v8-profiler-agent-impl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ namespace v8_inspector {
2121

2222
class V8InspectorSessionImpl;
2323

24-
using protocol::Maybe;
2524
using protocol::Response;
2625

2726
class V8ProfilerAgentImpl : public protocol::Profiler::Backend {

src/inspector/v8-runtime-agent-impl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ class V8InspectorImpl;
5454
class V8InspectorSessionImpl;
5555

5656
using protocol::Response;
57-
using protocol::Maybe;
5857

5958
class V8RuntimeAgentImpl : public protocol::Runtime::Backend {
6059
public:

third_party/inspector_protocol/BUILD.gn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ v8_source_set("crdtp") {
2525
"crdtp/find_by_first.h",
2626
"crdtp/json.cc",
2727
"crdtp/json.h",
28-
"crdtp/maybe.h",
2928
"crdtp/parser_handler.h",
3029
"crdtp/protocol_core.cc",
3130
"crdtp/protocol_core.h",

0 commit comments

Comments
 (0)