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 MEDIA_BASE_TEXT_RANGES_H_ | 5 #ifndef MEDIA_BASE_TEXT_RANGES_H_ |
6 #define MEDIA_BASE_TEXT_RANGES_H_ | 6 #define MEDIA_BASE_TEXT_RANGES_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/time/time.h" | 13 #include "base/time/time.h" |
12 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
13 | 15 |
14 namespace media { | 16 namespace media { |
15 | 17 |
16 // Helper class used by the TextRenderer to filter out text cues that | 18 // Helper class used by the TextRenderer to filter out text cues that |
17 // have already been passed downstream. | 19 // have already been passed downstream. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 88 |
87 // The time range to which we bind following a Reset(). | 89 // The time range to which we bind following a Reset(). |
88 RangeMap::iterator curr_range_itr_; | 90 RangeMap::iterator curr_range_itr_; |
89 | 91 |
90 DISALLOW_COPY_AND_ASSIGN(TextRanges); | 92 DISALLOW_COPY_AND_ASSIGN(TextRanges); |
91 }; | 93 }; |
92 | 94 |
93 } // namespace media | 95 } // namespace media |
94 | 96 |
95 #endif // MEDIA_BASE_TEXT_RANGES_H_ | 97 #endif // MEDIA_BASE_TEXT_RANGES_H_ |
OLD | NEW |