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_RENDERER_H_ | 5 #ifndef MEDIA_BASE_RENDERER_H_ |
6 #define MEDIA_BASE_RENDERER_H_ | 6 #define MEDIA_BASE_RENDERER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
10 #include "base/time/time.h" | 11 #include "base/time/time.h" |
11 #include "media/base/buffering_state.h" | 12 #include "media/base/buffering_state.h" |
12 #include "media/base/cdm_context.h" | 13 #include "media/base/cdm_context.h" |
13 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
14 #include "media/base/pipeline_status.h" | 15 #include "media/base/pipeline_status.h" |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 | 18 |
18 class DemuxerStreamProvider; | 19 class DemuxerStreamProvider; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // Returns whether |this| renders video. | 77 // Returns whether |this| renders video. |
77 virtual bool HasVideo() = 0; | 78 virtual bool HasVideo() = 0; |
78 | 79 |
79 private: | 80 private: |
80 DISALLOW_COPY_AND_ASSIGN(Renderer); | 81 DISALLOW_COPY_AND_ASSIGN(Renderer); |
81 }; | 82 }; |
82 | 83 |
83 } // namespace media | 84 } // namespace media |
84 | 85 |
85 #endif // MEDIA_BASE_RENDERER_H_ | 86 #endif // MEDIA_BASE_RENDERER_H_ |
OLD | NEW |