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

Side by Side Diff: sky/engine/wtf/TerminatedArrayBuilder.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/TerminatedArray.h ('k') | sky/engine/wtf/ThreadIdentifierDataPthreads.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 TerminatedArrayBuilder_h 4 #ifndef TerminatedArrayBuilder_h
5 #define TerminatedArrayBuilder_h 5 #define TerminatedArrayBuilder_h
6 6
7 #include "wtf/OwnPtr.h" 7 #include "sky/engine/wtf/OwnPtr.h"
8 8
9 namespace WTF { 9 namespace WTF {
10 10
11 template<typename T, template <typename> class ArrayType = TerminatedArray> 11 template<typename T, template <typename> class ArrayType = TerminatedArray>
12 class TerminatedArrayBuilder { 12 class TerminatedArrayBuilder {
13 DISALLOW_ALLOCATION(); 13 DISALLOW_ALLOCATION();
14 WTF_MAKE_NONCOPYABLE(TerminatedArrayBuilder); 14 WTF_MAKE_NONCOPYABLE(TerminatedArrayBuilder);
15 public: 15 public:
16 explicit TerminatedArrayBuilder(typename ArrayType<T>::Allocator::PassPtr ar ray) 16 explicit TerminatedArrayBuilder(typename ArrayType<T>::Allocator::PassPtr ar ray)
17 : m_array(array) 17 : m_array(array)
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 typename ArrayType<T>::Allocator::Ptr m_array; 70 typename ArrayType<T>::Allocator::Ptr m_array;
71 size_t m_count; 71 size_t m_count;
72 size_t m_capacity; 72 size_t m_capacity;
73 }; 73 };
74 74
75 } // namespace WTF 75 } // namespace WTF
76 76
77 using WTF::TerminatedArrayBuilder; 77 using WTF::TerminatedArrayBuilder;
78 78
79 #endif // TerminatedArrayBuilder_h 79 #endif // TerminatedArrayBuilder_h
OLDNEW
« no previous file with comments | « sky/engine/wtf/TerminatedArray.h ('k') | sky/engine/wtf/ThreadIdentifierDataPthreads.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698