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

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

Issue 2805813004: bindings: Preprocess IDL types in native_value_traits_type_name(). (Closed)
Patch Set: Rebase after The Blink Rename Created 3 years, 8 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.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
index 11f77eac813faab1838dfbd97f227227770abf46..69af3f6415df35514c3c96959da2c12dd52b2d53 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
@@ -39,6 +39,17 @@ TestDictionary::TestDictionary(const TestDictionary&) = default;
TestDictionary& TestDictionary::operator=(const TestDictionary&) = default;
+bool TestDictionary::hasAnyInRecordMember() const {
+ return m_hasAnyInRecordMember;
+}
+const Vector<std::pair<String, ScriptValue>>& TestDictionary::anyInRecordMember() const {
+ DCHECK(m_hasAnyInRecordMember);
+ return m_anyInRecordMember;
+}
+void TestDictionary::setAnyInRecordMember(const Vector<std::pair<String, ScriptValue>>& value) {
+ m_anyInRecordMember = value;
+ m_hasAnyInRecordMember = true;
+}
bool TestDictionary::hasAnyMember() const {
return !(m_anyMember.IsEmpty() || m_anyMember.IsNull() || m_anyMember.IsUndefined());
}

Powered by Google App Engine
This is Rietveld 408576698