Line data Source code
1 : // This file is generated
2 :
3 : // Copyright (c) 2016 The Chromium Authors. All rights reserved.
4 : // Use of this source code is governed by a BSD-style license that can be
5 : // found in the LICENSE file.
6 :
7 : #ifndef v8_inspector_protocol_Debugger_api_h
8 : #define v8_inspector_protocol_Debugger_api_h
9 :
10 : #include "v8-inspector.h"
11 :
12 : namespace v8_inspector {
13 : namespace protocol {
14 : namespace Debugger {
15 : namespace API {
16 :
17 : // ------------- Enums.
18 :
19 : namespace Paused {
20 : namespace ReasonEnum {
21 : V8_EXPORT extern const char* XHR;
22 : V8_EXPORT extern const char* DOM;
23 : V8_EXPORT extern const char* EventListener;
24 : V8_EXPORT extern const char* Exception;
25 : V8_EXPORT extern const char* Assert;
26 : V8_EXPORT extern const char* DebugCommand;
27 : V8_EXPORT extern const char* PromiseRejection;
28 : V8_EXPORT extern const char* OOM;
29 : V8_EXPORT extern const char* Other;
30 : V8_EXPORT extern const char* Ambiguous;
31 : } // ReasonEnum
32 : } // Paused
33 :
34 : // ------------- Types.
35 :
36 0 : class V8_EXPORT SearchMatch {
37 : public:
38 : virtual std::unique_ptr<StringBuffer> toJSONString() const = 0;
39 0 : virtual ~SearchMatch() { }
40 : static std::unique_ptr<protocol::Debugger::API::SearchMatch> fromJSONString(const StringView& json);
41 : };
42 :
43 : } // namespace API
44 : } // namespace Debugger
45 : } // namespace v8_inspector
46 : } // namespace protocol
47 :
48 : #endif // !defined(v8_inspector_protocol_Debugger_api_h)
|