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_DEBUG_MICRO_BENCHMARK_IMPL_H_ | 5 #ifndef CC_DEBUG_MICRO_BENCHMARK_IMPL_H_ |
6 #define CC_DEBUG_MICRO_BENCHMARK_IMPL_H_ | 6 #define CC_DEBUG_MICRO_BENCHMARK_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "cc/base/cc_export.h" | 11 #include "cc/cc_export.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class SingleThreadTaskRunner; | 14 class SingleThreadTaskRunner; |
15 class Value; | 15 class Value; |
16 } // namespace base | 16 } // namespace base |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 | 19 |
20 class LayerTreeHostImpl; | 20 class LayerTreeHostImpl; |
21 class LayerImpl; | 21 class LayerImpl; |
(...skipping 18 matching lines...) Expand all Loading... |
40 | 40 |
41 private: | 41 private: |
42 DoneCallback callback_; | 42 DoneCallback callback_; |
43 bool is_done_; | 43 bool is_done_; |
44 scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner_; | 44 scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner_; |
45 }; | 45 }; |
46 | 46 |
47 } // namespace cc | 47 } // namespace cc |
48 | 48 |
49 #endif // CC_DEBUG_MICRO_BENCHMARK_IMPL_H_ | 49 #endif // CC_DEBUG_MICRO_BENCHMARK_IMPL_H_ |
OLD | NEW |