| 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_RESOURCES_TEXTURE_MAILBOX_DELETER_H_ | 5 #ifndef CC_OUTPUT_TEXTURE_MAILBOX_DELETER_H_ |
| 6 #define CC_RESOURCES_TEXTURE_MAILBOX_DELETER_H_ | 6 #define CC_OUTPUT_TEXTURE_MAILBOX_DELETER_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/base/scoped_ptr_vector.h" | 10 #include "cc/base/scoped_ptr_vector.h" |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 class SingleThreadTaskRunner; | 13 class SingleThreadTaskRunner; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace cc { | 16 namespace cc { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 41 uint32 sync_point, | 41 uint32 sync_point, |
| 42 bool is_lost); | 42 bool is_lost); |
| 43 | 43 |
| 44 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner_; | 44 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner_; |
| 45 ScopedPtrVector<SingleReleaseCallback> impl_callbacks_; | 45 ScopedPtrVector<SingleReleaseCallback> impl_callbacks_; |
| 46 base::WeakPtrFactory<TextureMailboxDeleter> weak_ptr_factory_; | 46 base::WeakPtrFactory<TextureMailboxDeleter> weak_ptr_factory_; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace cc | 49 } // namespace cc |
| 50 | 50 |
| 51 #endif // CC_RESOURCES_TEXTURE_MAILBOX_DELETER_H_ | 51 #endif // CC_OUTPUT_TEXTURE_MAILBOX_DELETER_H_ |
| OLD | NEW |