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_AUDIO_DECODER_H_ | 5 #ifndef MEDIA_BASE_AUDIO_DECODER_H_ |
6 #define MEDIA_BASE_AUDIO_DECODER_H_ | 6 #define MEDIA_BASE_AUDIO_DECODER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
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_decoder_config.h" | 13 #include "media/base/audio_decoder_config.h" |
13 #include "media/base/cdm_context.h" | 14 #include "media/base/cdm_context.h" |
14 #include "media/base/channel_layout.h" | 15 #include "media/base/channel_layout.h" |
15 #include "media/base/decoder_buffer.h" | 16 #include "media/base/decoder_buffer.h" |
16 #include "media/base/media_export.h" | 17 #include "media/base/media_export.h" |
17 #include "media/base/pipeline_status.h" | 18 #include "media/base/pipeline_status.h" |
18 | 19 |
19 namespace media { | 20 namespace media { |
20 | 21 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // aborted before |closure| is called. | 88 // aborted before |closure| is called. |
88 virtual void Reset(const base::Closure& closure) = 0; | 89 virtual void Reset(const base::Closure& closure) = 0; |
89 | 90 |
90 private: | 91 private: |
91 DISALLOW_COPY_AND_ASSIGN(AudioDecoder); | 92 DISALLOW_COPY_AND_ASSIGN(AudioDecoder); |
92 }; | 93 }; |
93 | 94 |
94 } // namespace media | 95 } // namespace media |
95 | 96 |
96 #endif // MEDIA_BASE_AUDIO_DECODER_H_ | 97 #endif // MEDIA_BASE_AUDIO_DECODER_H_ |
OLD | NEW |