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