OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_LAYERS_DELEGATED_FRAME_RESOURCE_COLLECTION_H_ | 5 #ifndef CC_LAYERS_DELEGATED_FRAME_RESOURCE_COLLECTION_H_ |
6 #define CC_LAYERS_DELEGATED_FRAME_RESOURCE_COLLECTION_H_ | 6 #define CC_LAYERS_DELEGATED_FRAME_RESOURCE_COLLECTION_H_ |
7 | 7 |
8 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
12 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
13 #include "cc/resources/return_callback.h" | 14 #include "cc/resources/return_callback.h" |
14 #include "cc/resources/returned_resource.h" | 15 #include "cc/resources/returned_resource.h" |
15 #include "cc/resources/transferable_resource.h" | 16 #include "cc/resources/transferable_resource.h" |
16 | 17 |
17 namespace cc { | 18 namespace cc { |
18 | 19 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 61 |
61 base::ThreadChecker main_thread_checker_; | 62 base::ThreadChecker main_thread_checker_; |
62 base::WeakPtrFactory<DelegatedFrameResourceCollection> weak_ptr_factory_; | 63 base::WeakPtrFactory<DelegatedFrameResourceCollection> weak_ptr_factory_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(DelegatedFrameResourceCollection); | 65 DISALLOW_COPY_AND_ASSIGN(DelegatedFrameResourceCollection); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace cc | 68 } // namespace cc |
68 | 69 |
69 #endif // CC_LAYERS_DELEGATED_FRAME_RESOURCE_COLLECTION_H_ | 70 #endif // CC_LAYERS_DELEGATED_FRAME_RESOURCE_COLLECTION_H_ |
OLD | NEW |