OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef RecordTest_h | 5 #ifndef RecordTest_h |
6 #define RecordTest_h | 6 #define RecordTest_h |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 #include "bindings/core/v8/BooleanOrByteStringByteStringRecord.h" | 9 #include "bindings/core/v8/BooleanOrByteStringByteStringRecord.h" |
10 #include "bindings/core/v8/FloatOrStringElementRecord.h" | 10 #include "bindings/core/v8/FloatOrStringElementRecord.h" |
11 #include "bindings/core/v8/Nullable.h" | 11 #include "bindings/core/v8/Nullable.h" |
12 #include "bindings/core/v8/ScriptWrappable.h" | 12 #include "bindings/core/v8/ScriptWrappable.h" |
13 #include "core/dom/Element.h" | 13 #include "core/dom/Element.h" |
14 #include "platform/heap/Handle.h" | 14 #include "platform/heap/Handle.h" |
15 #include "wtf/Vector.h" | 15 #include "platform/wtf/Vector.h" |
16 #include "wtf/text/WTFString.h" | 16 #include "platform/wtf/text/WTFString.h" |
17 | 17 |
18 namespace blink { | 18 namespace blink { |
19 | 19 |
20 class RecordTest final : public GarbageCollectedFinalized<RecordTest>, | 20 class RecordTest final : public GarbageCollectedFinalized<RecordTest>, |
21 public ScriptWrappable { | 21 public ScriptWrappable { |
22 DEFINE_WRAPPERTYPEINFO(); | 22 DEFINE_WRAPPERTYPEINFO(); |
23 | 23 |
24 public: | 24 public: |
25 static RecordTest* Create() { return new RecordTest; } | 25 static RecordTest* Create() { return new RecordTest; } |
26 ~RecordTest(); | 26 ~RecordTest(); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 Vector<std::pair<String, int32_t>> string_long_record_; | 60 Vector<std::pair<String, int32_t>> string_long_record_; |
61 Nullable<Vector<std::pair<String, int32_t>>> nullable_string_long_record_; | 61 Nullable<Vector<std::pair<String, int32_t>>> nullable_string_long_record_; |
62 Vector<std::pair<String, String>> byte_string_byte_string_record_; | 62 Vector<std::pair<String, String>> byte_string_byte_string_record_; |
63 HeapVector<std::pair<String, Member<Element>>> string_element_record_; | 63 HeapVector<std::pair<String, Member<Element>>> string_element_record_; |
64 NestedRecordType usv_string_usv_string_boolean_record_record_; | 64 NestedRecordType usv_string_usv_string_boolean_record_record_; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace blink | 67 } // namespace blink |
68 | 68 |
69 #endif // RecordTest_h | 69 #endif // RecordTest_h |
OLD | NEW |