OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CUE_H_ | 5 #ifndef MEDIA_BASE_TEXT_CUE_H_ |
6 #define MEDIA_BASE_TEXT_CUE_H_ | 6 #define MEDIA_BASE_TEXT_CUE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "media/base/media_export.h" | 13 #include "media/base/media_export.h" |
13 | 14 |
14 namespace media { | 15 namespace media { |
15 | 16 |
16 // A text buffer to carry the components of a text track cue. | 17 // A text buffer to carry the components of a text track cue. |
17 class MEDIA_EXPORT TextCue | 18 class MEDIA_EXPORT TextCue |
18 : public base::RefCountedThreadSafe<TextCue> { | 19 : public base::RefCountedThreadSafe<TextCue> { |
19 public: | 20 public: |
(...skipping 19 matching lines...) Expand all Loading... |
39 std::string id_; | 40 std::string id_; |
40 std::string settings_; | 41 std::string settings_; |
41 std::string text_; | 42 std::string text_; |
42 | 43 |
43 DISALLOW_IMPLICIT_CONSTRUCTORS(TextCue); | 44 DISALLOW_IMPLICIT_CONSTRUCTORS(TextCue); |
44 }; | 45 }; |
45 | 46 |
46 } // namespace media | 47 } // namespace media |
47 | 48 |
48 #endif // MEDIA_BASE_TEXT_CUE_H_ | 49 #endif // MEDIA_BASE_TEXT_CUE_H_ |
OLD | NEW |