OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CAST_MEDIA_TEST_SKEWED_TICK_CLOCK_H | 5 #ifndef MEDIA_CAST_TEST_SKEWED_TICK_CLOCK_H_ |
6 #define CAST_MEDIA_TEST_SKEWED_TICK_CLOCK_H | 6 #define MEDIA_CAST_TEST_SKEWED_TICK_CLOCK_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/time/tick_clock.h" | 9 #include "base/time/tick_clock.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 | 11 |
12 namespace media { | 12 namespace media { |
13 namespace cast { | 13 namespace cast { |
14 namespace test { | 14 namespace test { |
15 | 15 |
16 // Wraps a base::TickClock, and lets you change the speed and offset | 16 // Wraps a base::TickClock, and lets you change the speed and offset |
(...skipping 18 matching lines...) Expand all Loading... |
35 base::TimeTicks last_skew_set_time_; | 35 base::TimeTicks last_skew_set_time_; |
36 base::TimeTicks skew_clock_at_last_set_; | 36 base::TimeTicks skew_clock_at_last_set_; |
37 | 37 |
38 DISALLOW_COPY_AND_ASSIGN(SkewedTickClock); | 38 DISALLOW_COPY_AND_ASSIGN(SkewedTickClock); |
39 }; | 39 }; |
40 | 40 |
41 } // namespace test | 41 } // namespace test |
42 } // namespace cast | 42 } // namespace cast |
43 } // namespace media | 43 } // namespace media |
44 | 44 |
45 #endif // CAST_MEDIA_TEST_SKEWED_TICK_CLOCK_H | 45 #endif // MEDIA_CAST_TEST_SKEWED_TICK_CLOCK_H_ |
OLD | NEW |