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 4225594 : class V8_EXPORT RemoteObject {
22 : public:
23 : virtual std::unique_ptr<StringBuffer> toJSONString() const = 0;
24 4225594 : virtual ~RemoteObject() { }
25 : static std::unique_ptr<protocol::Runtime::API::RemoteObject> fromJSONString(const StringView& json);
26 : };
27 :
28 42537 : class V8_EXPORT StackTrace {
29 : public:
30 : virtual std::unique_ptr<StringBuffer> toJSONString() const = 0;
31 42537 : virtual ~StackTrace() { }
32 : static std::unique_ptr<protocol::Runtime::API::StackTrace> fromJSONString(const StringView& json);
33 : };
34 :
35 : } // namespace API
36 : } // namespace Runtime
37 : } // namespace v8_inspector
38 : } // namespace protocol
39 :
40 : #endif // !defined(v8_inspector_protocol_Runtime_api_h)
|