OLD | NEW |
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 #ifndef CC_BASE_LIST_CONTAINER_H_ | 5 #ifndef CC_BASE_LIST_CONTAINER_H_ |
6 #define CC_BASE_LIST_CONTAINER_H_ | 6 #define CC_BASE_LIST_CONTAINER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
12 #include "cc/base/list_container_helper.h" | 14 #include "cc/base/list_container_helper.h" |
13 | 15 |
14 namespace cc { | 16 namespace cc { |
15 | 17 |
16 // ListContainer is a container type that handles allocating contiguous memory | 18 // ListContainer is a container type that handles allocating contiguous memory |
17 // for new elements and traversing through elements with either iterator or | 19 // for new elements and traversing through elements with either iterator or |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 | 337 |
336 private: | 338 private: |
337 ListContainerHelper helper_; | 339 ListContainerHelper helper_; |
338 | 340 |
339 DISALLOW_COPY_AND_ASSIGN(ListContainer); | 341 DISALLOW_COPY_AND_ASSIGN(ListContainer); |
340 }; | 342 }; |
341 | 343 |
342 } // namespace cc | 344 } // namespace cc |
343 | 345 |
344 #endif // CC_BASE_LIST_CONTAINER_H_ | 346 #endif // CC_BASE_LIST_CONTAINER_H_ |
OLD | NEW |