| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 WTF_Time_h | 5 #ifndef WTF_Time_h |
| 6 #define WTF_Time_h | 6 #define WTF_Time_h |
| 7 | 7 |
| 8 #include "base/time/time.h" | 8 #include "base/time/time.h" |
| 9 #include "wtf/CurrentTime.h" | 9 #include "platform/wtf/CurrentTime.h" |
| 10 | 10 |
| 11 namespace WTF { | 11 namespace WTF { |
| 12 // Provides thin wrappers around the following basic time types from | 12 // Provides thin wrappers around the following basic time types from |
| 13 // base/time package: | 13 // base/time package: |
| 14 // | 14 // |
| 15 // - WTF::TimeDelta is an alias for base::TimeDelta and represents a duration | 15 // - WTF::TimeDelta is an alias for base::TimeDelta and represents a duration |
| 16 // of time. | 16 // of time. |
| 17 // - WTF::TimeTicks wraps base::TimeTicks and represents a monotonic time | 17 // - WTF::TimeTicks wraps base::TimeTicks and represents a monotonic time |
| 18 // value. | 18 // value. |
| 19 // - WTF::Time wraps base::Time and represents a wall time value. | 19 // - WTF::Time wraps base::Time and represents a wall time value. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 using Time = internal::TimeWrapper<base::Time>; | 94 using Time = internal::TimeWrapper<base::Time>; |
| 95 using TimeTicks = internal::TimeWrapper<base::TimeTicks>; | 95 using TimeTicks = internal::TimeWrapper<base::TimeTicks>; |
| 96 | 96 |
| 97 } // namespace WTF | 97 } // namespace WTF |
| 98 | 98 |
| 99 using WTF::Time; | 99 using WTF::Time; |
| 100 using WTF::TimeDelta; | 100 using WTF::TimeDelta; |
| 101 using WTF::TimeTicks; | 101 using WTF::TimeTicks; |
| 102 | 102 |
| 103 #endif // Time_h | 103 #endif // Time_h |
| OLD | NEW |