| 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 CCTimeSource_h | 5 #ifndef CC_TIME_SOURCE_H_ |
| 6 #define CCTimeSource_h | 6 #define CC_TIME_SOURCE_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/time.h" | 9 #include "base/time.h" |
| 10 #include "cc/cc_export.h" | 10 #include "cc/cc_export.h" |
| 11 | 11 |
| 12 namespace cc { | 12 namespace cc { |
| 13 | 13 |
| 14 class Thread; | 14 class Thread; |
| 15 | 15 |
| 16 class TimeSourceClient { | 16 class TimeSourceClient { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 virtual base::TimeTicks nextTickTime() = 0; | 36 virtual base::TimeTicks nextTickTime() = 0; |
| 37 | 37 |
| 38 protected: | 38 protected: |
| 39 virtual ~TimeSource() { } | 39 virtual ~TimeSource() { } |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 friend class base::RefCounted<TimeSource>; | 42 friend class base::RefCounted<TimeSource>; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } | 45 } |
| 46 #endif // CCTimeSource_h | 46 #endif // CC_TIME_SOURCE_H_ |
| OLD | NEW |