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_OUTPUT_TEXTURE_MAILBOX_DELETER_H_ | 5 #ifndef CC_OUTPUT_TEXTURE_MAILBOX_DELETER_H_ |
6 #define CC_OUTPUT_TEXTURE_MAILBOX_DELETER_H_ | 6 #define CC_OUTPUT_TEXTURE_MAILBOX_DELETER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 class SingleThreadTaskRunner; | 15 class SingleThreadTaskRunner; |
15 } | 16 } |
16 | 17 |
17 namespace gpu { | 18 namespace gpu { |
18 struct SyncToken; | 19 struct SyncToken; |
19 } | 20 } |
(...skipping 29 matching lines...) Expand all Loading... |
49 bool is_lost); | 50 bool is_lost); |
50 | 51 |
51 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner_; | 52 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner_; |
52 std::vector<scoped_ptr<SingleReleaseCallback>> impl_callbacks_; | 53 std::vector<scoped_ptr<SingleReleaseCallback>> impl_callbacks_; |
53 base::WeakPtrFactory<TextureMailboxDeleter> weak_ptr_factory_; | 54 base::WeakPtrFactory<TextureMailboxDeleter> weak_ptr_factory_; |
54 }; | 55 }; |
55 | 56 |
56 } // namespace cc | 57 } // namespace cc |
57 | 58 |
58 #endif // CC_OUTPUT_TEXTURE_MAILBOX_DELETER_H_ | 59 #endif // CC_OUTPUT_TEXTURE_MAILBOX_DELETER_H_ |
OLD | NEW |