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

Side by Side Diff: third_party/WebKit/Source/wtf/TerminatedArray.h

Issue 1412083007: Remove FastAllocBase.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 "wtf/Allocator.h"
8 #include "wtf/OwnPtr.h" 8 #include "wtf/OwnPtr.h"
9 #include "wtf/Partitions.h" 9 #include "wtf/Partitions.h"
10 10
11 namespace WTF { 11 namespace WTF {
12 12
13 // TerminatedArray<T> represents a sequence of elements of type T in which each 13 // TerminatedArray<T> represents a sequence of elements of type T in which each
14 // element knows whether it is the last element in the sequence or not. For this 14 // element knows whether it is the last element in the sequence or not. For this
15 // check type T must provide isLastInArray method. 15 // check type T must provide isLastInArray method.
16 // TerminatedArray<T> can only be constructed by TerminatedArrayBuilder<T>. 16 // TerminatedArray<T> can only be constructed by TerminatedArrayBuilder<T>.
17 template<typename T> 17 template<typename T>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 TerminatedArray(); 90 TerminatedArray();
91 91
92 template<typename, template <typename> class> friend class TerminatedArrayBu ilder; 92 template<typename, template <typename> class> friend class TerminatedArrayBu ilder;
93 }; 93 };
94 94
95 } // namespace WTF 95 } // namespace WTF
96 96
97 using WTF::TerminatedArray; 97 using WTF::TerminatedArray;
98 98
99 #endif // TerminatedArray_h 99 #endif // TerminatedArray_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/RefCounted.h ('k') | third_party/WebKit/Source/wtf/ThreadSafeRefCounted.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698