OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ | 5 #ifndef CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ |
6 #define CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ | 6 #define CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "base/values.h" | 13 #include "base/values.h" |
13 #include "cc/base/cc_export.h" | 14 #include "cc/base/cc_export.h" |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 namespace trace_event { | 17 namespace trace_event { |
17 class TracedValue; | 18 class TracedValue; |
18 } | 19 } |
19 class SingleThreadTaskRunner; | 20 class SingleThreadTaskRunner; |
20 } | 21 } |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 base::SingleThreadTaskRunner* task_runner_; | 91 base::SingleThreadTaskRunner* task_runner_; |
91 | 92 |
92 base::WeakPtrFactory<DelayBasedTimeSource> weak_factory_; | 93 base::WeakPtrFactory<DelayBasedTimeSource> weak_factory_; |
93 | 94 |
94 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSource); | 95 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSource); |
95 }; | 96 }; |
96 | 97 |
97 } // namespace cc | 98 } // namespace cc |
98 | 99 |
99 #endif // CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ | 100 #endif // CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ |
OLD | NEW |