Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.h

Issue 2752223002: bindings: Add the proper includes for unions inside records (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.h b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.h
index e88e9777a3936089f6ca2cc3c85c98984eecd363..727d6c48ac1d3c96af3daddae5466836b3aae231 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.h
@@ -16,6 +16,7 @@
#include "bindings/core/v8/DoubleOrString.h"
#include "bindings/core/v8/FloatOrBoolean.h"
#include "bindings/core/v8/IDLDictionaryBase.h"
+#include "bindings/core/v8/LongOrBoolean.h"
#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/TestInterface2OrUint8Array.h"
#include "bindings/tests/idls/core/TestInterface2.h"
@@ -184,6 +185,10 @@ class CORE_EXPORT TestDictionary : public IDLDictionaryBase {
DOMUint8Array* uint8ArrayMember() const;
void setUint8ArrayMember(DOMUint8Array*);
+ bool hasUnionInRecordMember() const;
+ const HeapVector<std::pair<String, LongOrBoolean>>& unionInRecordMember() const;
+ void setUnionInRecordMember(const HeapVector<std::pair<String, LongOrBoolean>>&);
+
bool hasUnionWithTypedefs() const;
const FloatOrBoolean& unionWithTypedefs() const;
void setUnionWithTypedefs(const FloatOrBoolean&);
@@ -246,6 +251,8 @@ class CORE_EXPORT TestDictionary : public IDLDictionaryBase {
bool m_hasTestObjectSequenceMember = false;
HeapVector<Member<TestObject>> m_testObjectSequenceMember;
Member<DOMUint8Array> m_uint8ArrayMember;
+ bool m_hasUnionInRecordMember = false;
+ HeapVector<std::pair<String, LongOrBoolean>> m_unionInRecordMember;
FloatOrBoolean m_unionWithTypedefs;
bool m_hasUnrestrictedDoubleMember = false;
double m_unrestrictedDoubleMember;

Powered by Google App Engine
This is Rietveld 408576698