OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 MEDIA_BASE_CLOCK_H_ | 5 #ifndef MEDIA_BASE_CLOCK_H_ |
6 #define MEDIA_BASE_CLOCK_H_ | 6 #define MEDIA_BASE_CLOCK_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/time.h" | 9 #include "base/time/time.h" |
10 #include "media/base/media_export.h" | 10 #include "media/base/media_export.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 class TickClock; | 13 class TickClock; |
14 } // namespace base | 14 } // namespace base |
15 | 15 |
16 namespace media { | 16 namespace media { |
17 | 17 |
18 // A clock represents a single source of time to allow audio and video streams | 18 // A clock represents a single source of time to allow audio and video streams |
19 // to synchronize with each other. Clock essentially tracks the media time with | 19 // to synchronize with each other. Clock essentially tracks the media time with |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 122 |
123 // Duration of the media. | 123 // Duration of the media. |
124 base::TimeDelta duration_; | 124 base::TimeDelta duration_; |
125 | 125 |
126 DISALLOW_COPY_AND_ASSIGN(Clock); | 126 DISALLOW_COPY_AND_ASSIGN(Clock); |
127 }; | 127 }; |
128 | 128 |
129 } // namespace media | 129 } // namespace media |
130 | 130 |
131 #endif // MEDIA_BASE_CLOCK_H_ | 131 #endif // MEDIA_BASE_CLOCK_H_ |
OLD | NEW |