-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathDebugger.h
More file actions
59 lines (46 loc) · 1.6 KB
/
Debugger.h
File metadata and controls
59 lines (46 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// This file is generated by Exported_h.template.
// Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef v8_inspector_protocol_Debugger_api_h
#define v8_inspector_protocol_Debugger_api_h
#include "v8-inspector.h"
namespace v8_inspector {
namespace protocol {
#ifndef v8_inspector_protocol_exported_api_h
#define v8_inspector_protocol_exported_api_h
class V8_EXPORT Exported {
public:
virtual void AppendSerialized(std::vector<uint8_t>* out) const = 0;
virtual ~Exported() { }
};
#endif // !defined(v8_inspector_protocol_exported_api_h)
namespace Debugger {
namespace API {
// ------------- Enums.
namespace Paused {
namespace ReasonEnum {
V8_EXPORT extern const char* Ambiguous;
V8_EXPORT extern const char* Assert;
V8_EXPORT extern const char* CSPViolation;
V8_EXPORT extern const char* DebugCommand;
V8_EXPORT extern const char* DOM;
V8_EXPORT extern const char* EventListener;
V8_EXPORT extern const char* Exception;
V8_EXPORT extern const char* Instrumentation;
V8_EXPORT extern const char* OOM;
V8_EXPORT extern const char* Other;
V8_EXPORT extern const char* PromiseRejection;
V8_EXPORT extern const char* XHR;
} // ReasonEnum
} // Paused
// ------------- Types.
class V8_EXPORT SearchMatch : public Exported {
public:
static std::unique_ptr<protocol::Debugger::API::SearchMatch> fromBinary(const uint8_t* data, size_t length);
};
} // namespace API
} // namespace Debugger
} // namespace v8_inspector
} // namespace protocol
#endif // !defined(v8_inspector_protocol_Debugger_api_h)