Chromium Code Reviews| Index: cc/resources/release_callback_impl.h |
| diff --git a/cc/resources/release_callback_impl.h b/cc/resources/release_callback_impl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c05b703571e52e17361942d1efd1d196da7bf731 |
| --- /dev/null |
| +++ b/cc/resources/release_callback_impl.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_ |
| +#define CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_ |
| + |
| +#include "base/callback.h" |
| + |
| +namespace cc { |
| +class BlockingTaskRunner; |
| + |
| +typedef base::Callback<void(uint32 sync_point, |
| + bool is_lost, |
| + scoped_refptr<BlockingTaskRunner> |
|
danakj
2014/08/28 17:10:46
can you make this a raw pointer instead of a refpt
Sami
2014/08/28 18:21:16
Done.
|
| + main_thread_task_runner)> ReleaseCallbackImpl; |
| + |
| +} // namespace cc |
| + |
| +#endif // CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_ |