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_FILTERS_DECRYPTING_AUDIO_DECODER_H_ | 5 #ifndef MEDIA_FILTERS_DECRYPTING_AUDIO_DECODER_H_ |
6 #define MEDIA_FILTERS_DECRYPTING_AUDIO_DECODER_H_ | 6 #define MEDIA_FILTERS_DECRYPTING_AUDIO_DECODER_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/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
13 #include "media/base/audio_decoder.h" | 14 #include "media/base/audio_decoder.h" |
14 #include "media/base/cdm_context.h" | 15 #include "media/base/cdm_context.h" |
15 #include "media/base/decryptor.h" | 16 #include "media/base/decryptor.h" |
16 #include "media/base/demuxer_stream.h" | 17 #include "media/base/demuxer_stream.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 126 |
126 base::WeakPtr<DecryptingAudioDecoder> weak_this_; | 127 base::WeakPtr<DecryptingAudioDecoder> weak_this_; |
127 base::WeakPtrFactory<DecryptingAudioDecoder> weak_factory_; | 128 base::WeakPtrFactory<DecryptingAudioDecoder> weak_factory_; |
128 | 129 |
129 DISALLOW_COPY_AND_ASSIGN(DecryptingAudioDecoder); | 130 DISALLOW_COPY_AND_ASSIGN(DecryptingAudioDecoder); |
130 }; | 131 }; |
131 | 132 |
132 } // namespace media | 133 } // namespace media |
133 | 134 |
134 #endif // MEDIA_FILTERS_DECRYPTING_AUDIO_DECODER_H_ | 135 #endif // MEDIA_FILTERS_DECRYPTING_AUDIO_DECODER_H_ |
OLD | NEW |