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

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

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO 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 unified diff | Download patch
OLDNEW
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. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // This file has been generated from the Jinja2 template in 8 // This file has been generated from the Jinja2 template in
9 // third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl 9 // third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl
10 10
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 DCHECK(m_hasTestObjectSequenceMember); 393 DCHECK(m_hasTestObjectSequenceMember);
394 return m_testObjectSequenceMember; 394 return m_testObjectSequenceMember;
395 } 395 }
396 void TestDictionary::setTestObjectSequenceMember(const HeapVector<Member<TestObj ect>>& value) { 396 void TestDictionary::setTestObjectSequenceMember(const HeapVector<Member<TestObj ect>>& value) {
397 m_testObjectSequenceMember = value; 397 m_testObjectSequenceMember = value;
398 m_hasTestObjectSequenceMember = true; 398 m_hasTestObjectSequenceMember = true;
399 } 399 }
400 bool TestDictionary::hasUint8ArrayMember() const { 400 bool TestDictionary::hasUint8ArrayMember() const {
401 return m_uint8ArrayMember; 401 return m_uint8ArrayMember;
402 } 402 }
403 DOMUint8Array* TestDictionary::uint8ArrayMember() const { 403 NotShared<DOMUint8Array> TestDictionary::uint8ArrayMember() const {
404 return m_uint8ArrayMember; 404 return m_uint8ArrayMember;
405 } 405 }
406 void TestDictionary::setUint8ArrayMember(DOMUint8Array* value) { 406 void TestDictionary::setUint8ArrayMember(NotShared<DOMUint8Array> value) {
407 m_uint8ArrayMember = value; 407 m_uint8ArrayMember = value.View();
408 } 408 }
409 bool TestDictionary::hasUnionInRecordMember() const { 409 bool TestDictionary::hasUnionInRecordMember() const {
410 return m_hasUnionInRecordMember; 410 return m_hasUnionInRecordMember;
411 } 411 }
412 const HeapVector<std::pair<String, LongOrBoolean>>& TestDictionary::unionInRecor dMember() const { 412 const HeapVector<std::pair<String, LongOrBoolean>>& TestDictionary::unionInRecor dMember() const {
413 DCHECK(m_hasUnionInRecordMember); 413 DCHECK(m_hasUnionInRecordMember);
414 return m_unionInRecordMember; 414 return m_unionInRecordMember;
415 } 415 }
416 void TestDictionary::setUnionInRecordMember(const HeapVector<std::pair<String, L ongOrBoolean>>& value) { 416 void TestDictionary::setUnionInRecordMember(const HeapVector<std::pair<String, L ongOrBoolean>>& value) {
417 m_unionInRecordMember = value; 417 m_unionInRecordMember = value;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 visitor->Trace(m_testInterfaceOrNullMember); 454 visitor->Trace(m_testInterfaceOrNullMember);
455 visitor->Trace(m_testInterfaceSequenceMember); 455 visitor->Trace(m_testInterfaceSequenceMember);
456 visitor->Trace(m_testObjectSequenceMember); 456 visitor->Trace(m_testObjectSequenceMember);
457 visitor->Trace(m_uint8ArrayMember); 457 visitor->Trace(m_uint8ArrayMember);
458 visitor->Trace(m_unionInRecordMember); 458 visitor->Trace(m_unionInRecordMember);
459 visitor->Trace(m_unionWithTypedefs); 459 visitor->Trace(m_unionWithTypedefs);
460 IDLDictionaryBase::Trace(visitor); 460 IDLDictionaryBase::Trace(visitor);
461 } 461 }
462 462
463 } // namespace blink 463 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698