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_H_ | 5 #ifndef CC_DEBUG_MICRO_BENCHMARK_H_ |
6 #define CC_DEBUG_MICRO_BENCHMARK_H_ | 6 #define CC_DEBUG_MICRO_BENCHMARK_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 Layer; | 20 class Layer; |
21 class LayerTreeHost; | 21 class LayerTreeHost; |
(...skipping 29 matching lines...) Expand all Loading... |
51 private: | 51 private: |
52 DoneCallback callback_; | 52 DoneCallback callback_; |
53 bool is_done_; | 53 bool is_done_; |
54 bool processed_for_benchmark_impl_; | 54 bool processed_for_benchmark_impl_; |
55 int id_; | 55 int id_; |
56 }; | 56 }; |
57 | 57 |
58 } // namespace cc | 58 } // namespace cc |
59 | 59 |
60 #endif // CC_DEBUG_MICRO_BENCHMARK_H_ | 60 #endif // CC_DEBUG_MICRO_BENCHMARK_H_ |
OLD | NEW |