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

Side by Side Diff: third_party/WebKit/Source/core/testing/SequenceTest.cpp

Issue 2871933002: bindings: Fix coding style in SequenceTest. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/SequenceTest.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "SequenceTest.h" 5 #include "SequenceTest.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 SequenceTest::SequenceTest() {} 9 SequenceTest::SequenceTest() {}
10 10
(...skipping 18 matching lines...) Expand all
29 const Vector<int32_t>& arg) const { 29 const Vector<int32_t>& arg) const {
30 return arg; 30 return arg;
31 } 31 }
32 32
33 Nullable<Vector<uint8_t>> SequenceTest::identityOctetSequenceOrNull( 33 Nullable<Vector<uint8_t>> SequenceTest::identityOctetSequenceOrNull(
34 const Nullable<Vector<uint8_t>>& arg) const { 34 const Nullable<Vector<uint8_t>>& arg) const {
35 return arg; 35 return arg;
36 } 36 }
37 37
38 HeapVector<Member<Element>> SequenceTest::getElementSequence() const { 38 HeapVector<Member<Element>> SequenceTest::getElementSequence() const {
39 return m_elementSequence; 39 return element_sequence_;
40 } 40 }
41 41
42 void SequenceTest::setElementSequence(const HeapVector<Member<Element>>& arg) { 42 void SequenceTest::setElementSequence(const HeapVector<Member<Element>>& arg) {
43 m_elementSequence = arg; 43 element_sequence_ = arg;
44 } 44 }
45 45
46 bool SequenceTest::unionReceivedSequence(const DoubleOrDoubleSequence& arg) { 46 bool SequenceTest::unionReceivedSequence(const DoubleOrDoubleSequence& arg) {
47 return arg.isDoubleSequence(); 47 return arg.isDoubleSequence();
48 } 48 }
49 49
50 DEFINE_TRACE(SequenceTest) { 50 DEFINE_TRACE(SequenceTest) {
51 visitor->Trace(m_elementSequence); 51 visitor->Trace(element_sequence_);
52 } 52 }
53 53
54 } // namespace blink 54 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/SequenceTest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698