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_Runtime_api_h
8 : #define v8_inspector_protocol_Runtime_api_h
9 :
10 : #include "v8-inspector.h"
11 :
12 : namespace v8_inspector {
13 : namespace protocol {
14 : namespace Runtime {
15 : namespace API {
16 :
17 : // ------------- Enums.
18 :
19 : // ------------- Types.
20 :
21 3066046 : class V8_EXPORT RemoteObject {
22 : public:
23 : virtual std::unique_ptr<StringBuffer> toJSONString() const = 0;
24 3066046 : virtual ~RemoteObject() { }
25 : static std::unique_ptr<protocol::Runtime::API::RemoteObject> fromJSONString(const StringView& json);
26 : };
27 :
28 61704 : class V8_EXPORT StackTrace {
29 : public:
30 : virtual std::unique_ptr<StringBuffer> toJSONString() const = 0;
31 61704 : virtual ~StackTrace() { }
32 : static std::unique_ptr<protocol::Runtime::API::StackTrace> fromJSONString(const StringView& json);
33 : };
34 :
35 365 : class V8_EXPORT StackTraceId {
36 : public:
37 : virtual std::unique_ptr<StringBuffer> toJSONString() const = 0;
38 365 : virtual ~StackTraceId() { }
39 : static std::unique_ptr<protocol::Runtime::API::StackTraceId> fromJSONString(const StringView& json);
40 : };
41 :
42 : } // namespace API
43 : } // namespace Runtime
44 : } // namespace v8_inspector
45 : } // namespace protocol
46 :
47 : #endif // !defined(v8_inspector_protocol_Runtime_api_h)
|