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_DECRYPTOR_H_ | 5 #ifndef MEDIA_BASE_DECRYPTOR_H_ |
6 #define MEDIA_BASE_DECRYPTOR_H_ | 6 #define MEDIA_BASE_DECRYPTOR_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "media/base/audio_buffer.h" | 13 #include "media/base/audio_buffer.h" |
13 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
14 | 15 |
15 namespace media { | 16 namespace media { |
16 | 17 |
17 class AudioDecoderConfig; | 18 class AudioDecoderConfig; |
18 class DecoderBuffer; | 19 class DecoderBuffer; |
19 class VideoDecoderConfig; | 20 class VideoDecoderConfig; |
20 class VideoFrame; | 21 class VideoFrame; |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 // The decoder can be reinitialized after it is uninitialized. | 159 // The decoder can be reinitialized after it is uninitialized. |
159 virtual void DeinitializeDecoder(StreamType stream_type) = 0; | 160 virtual void DeinitializeDecoder(StreamType stream_type) = 0; |
160 | 161 |
161 private: | 162 private: |
162 DISALLOW_COPY_AND_ASSIGN(Decryptor); | 163 DISALLOW_COPY_AND_ASSIGN(Decryptor); |
163 }; | 164 }; |
164 | 165 |
165 } // namespace media | 166 } // namespace media |
166 | 167 |
167 #endif // MEDIA_BASE_DECRYPTOR_H_ | 168 #endif // MEDIA_BASE_DECRYPTOR_H_ |
OLD | NEW |