Line data Source code
1 : // This file is generated by Exported_h.template.
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_Schema_api_h
8 : #define v8_inspector_protocol_Schema_api_h
9 :
10 : #include "v8-inspector.h"
11 :
12 : namespace v8_inspector {
13 : namespace protocol {
14 :
15 : #ifndef v8_inspector_protocol_exported_api_h
16 : #define v8_inspector_protocol_exported_api_h
17 0 : class V8_EXPORT Exported {
18 : public:
19 : virtual std::unique_ptr<StringBuffer> toJSONString() const = 0;
20 : virtual void writeBinary(std::vector<uint8_t>* out) const = 0;
21 0 : virtual ~Exported() { }
22 : };
23 : #endif // !defined(v8_inspector_protocol_exported_api_h)
24 :
25 : namespace Schema {
26 : namespace API {
27 :
28 : // ------------- Enums.
29 :
30 : // ------------- Types.
31 :
32 0 : class V8_EXPORT Domain : public Exported {
33 : public:
34 : static std::unique_ptr<protocol::Schema::API::Domain> fromJSONString(const StringView& json);
35 : static std::unique_ptr<protocol::Schema::API::Domain> fromBinary(const uint8_t* data, size_t length);
36 : };
37 :
38 : } // namespace API
39 : } // namespace Schema
40 : } // namespace v8_inspector
41 : } // namespace protocol
42 :
43 : #endif // !defined(v8_inspector_protocol_Schema_api_h)
|