| 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/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 13 #include "base/values.h" | 14 #include "base/values.h" |
| 14 #include "cc/base/cc_export.h" | 15 #include "cc/base/cc_export.h" |
| 15 | 16 |
| 16 namespace base { | 17 namespace base { |
| 17 namespace trace_event { | 18 namespace trace_event { |
| 18 class TracedValue; | 19 class TracedValue; |
| 19 } | 20 } |
| 20 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
| 21 } | 22 } |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 base::SingleThreadTaskRunner* task_runner_; | 89 base::SingleThreadTaskRunner* task_runner_; |
| 89 | 90 |
| 90 base::WeakPtrFactory<DelayBasedTimeSource> weak_factory_; | 91 base::WeakPtrFactory<DelayBasedTimeSource> weak_factory_; |
| 91 | 92 |
| 92 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSource); | 93 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSource); |
| 93 }; | 94 }; |
| 94 | 95 |
| 95 } // namespace cc | 96 } // namespace cc |
| 96 | 97 |
| 97 #endif // CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ | 98 #endif // CC_SCHEDULER_DELAY_BASED_TIME_SOURCE_H_ |
| OLD | NEW |