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

Side by Side Diff: sky/engine/wtf/TerminatedArray.h

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/wtf/TemporaryChangeTest.cpp ('k') | sky/engine/wtf/TerminatedArrayBuilder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef TerminatedArray_h 4 #ifndef TerminatedArray_h
5 #define TerminatedArray_h 5 #define TerminatedArray_h
6 6
7 #include "wtf/FastAllocBase.h" 7 #include "sky/engine/wtf/FastAllocBase.h"
8 #include "wtf/OwnPtr.h" 8 #include "sky/engine/wtf/OwnPtr.h"
9 9
10 namespace WTF { 10 namespace WTF {
11 11
12 // TerminatedArray<T> represents a sequence of elements of type T in which each 12 // TerminatedArray<T> represents a sequence of elements of type T in which each
13 // element knows whether it is the last element in the sequence or not. For this 13 // element knows whether it is the last element in the sequence or not. For this
14 // check type T must provide isLastInArray method. 14 // check type T must provide isLastInArray method.
15 // TerminatedArray<T> can only be constructed by TerminatedArrayBuilder<T>. 15 // TerminatedArray<T> can only be constructed by TerminatedArrayBuilder<T>.
16 template<typename T> 16 template<typename T>
17 class TerminatedArray { 17 class TerminatedArray {
18 WTF_MAKE_NONCOPYABLE(TerminatedArray); 18 WTF_MAKE_NONCOPYABLE(TerminatedArray);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 TerminatedArray(); 89 TerminatedArray();
90 90
91 template<typename, template <typename> class> friend class TerminatedArrayBu ilder; 91 template<typename, template <typename> class> friend class TerminatedArrayBu ilder;
92 }; 92 };
93 93
94 } // namespace WTF 94 } // namespace WTF
95 95
96 using WTF::TerminatedArray; 96 using WTF::TerminatedArray;
97 97
98 #endif // TerminatedArray_h 98 #endif // TerminatedArray_h
OLDNEW
« no previous file with comments | « sky/engine/wtf/TemporaryChangeTest.cpp ('k') | sky/engine/wtf/TerminatedArrayBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698