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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/cancelable_callback.h" | 11 #include "base/cancelable_callback.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "cc/base/cc_export.h" | 16 #include "cc/cc_export.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 namespace trace_event { | 19 namespace trace_event { |
20 class TracedValue; | 20 class TracedValue; |
21 } | 21 } |
22 class SingleThreadTaskRunner; | 22 class SingleThreadTaskRunner; |
23 } | 23 } |
24 | 24 |
25 namespace cc { | 25 namespace cc { |
26 class CC_EXPORT DelayBasedTimeSourceClient { | 26 class CC_EXPORT DelayBasedTimeSourceClient { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 base::SingleThreadTaskRunner* task_runner_; | 82 base::SingleThreadTaskRunner* task_runner_; |
83 | 83 |
84 base::WeakPtrFactory<DelayBasedTimeSource> weak_factory_; | 84 base::WeakPtrFactory<DelayBasedTimeSource> weak_factory_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSource); | 86 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSource); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace cc | 89 } // namespace cc |
90 | 90 |
91 #endif // CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ | 91 #endif // CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ |
OLD | NEW |