OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #ifndef UnionTypeModules_h | 7 #ifndef BooleanOrString_h |
8 #define UnionTypeModules_h | 8 #define BooleanOrString_h |
9 | 9 |
10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
11 #include "bindings/core/v8/ExceptionState.h" | 11 #include "bindings/core/v8/ExceptionState.h" |
12 #include "bindings/core/v8/UnionTypesCore.h" | |
13 #include "bindings/core/v8/V8Binding.h" | 12 #include "bindings/core/v8/V8Binding.h" |
14 #include "modules/ModulesExport.h" | 13 #include "modules/ModulesExport.h" |
15 #include "platform/heap/Handle.h" | 14 #include "platform/heap/Handle.h" |
16 | 15 |
17 namespace blink { | 16 namespace blink { |
18 | 17 |
19 | 18 |
20 class MODULES_EXPORT BooleanOrString final { | 19 class MODULES_EXPORT BooleanOrString final { |
21 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 20 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
22 public: | 21 public: |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 }; | 70 }; |
72 | 71 |
73 } // namespace blink | 72 } // namespace blink |
74 | 73 |
75 // We need to set canInitializeWithMemset=true because HeapVector supports | 74 // We need to set canInitializeWithMemset=true because HeapVector supports |
76 // items that can initialize with memset or have a vtable. It is safe to | 75 // items that can initialize with memset or have a vtable. It is safe to |
77 // set canInitializeWithMemset=true for a union type object in practice. | 76 // set canInitializeWithMemset=true for a union type object in practice. |
78 // See https://codereview.chromium.org/1118993002/#msg5 for more details. | 77 // See https://codereview.chromium.org/1118993002/#msg5 for more details. |
79 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::BooleanOrString); | 78 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::BooleanOrString); |
80 | 79 |
81 #endif // UnionTypeModules_h | 80 #endif // BooleanOrString_h |
OLD | NEW |