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 CHROMECAST_MEDIA_CMA_BASE_DECODER_BUFFER_ADAPTER_H_ | 5 #ifndef CHROMECAST_MEDIA_CMA_BASE_DECODER_BUFFER_ADAPTER_H_ |
6 #define CHROMECAST_MEDIA_CMA_BASE_DECODER_BUFFER_ADAPTER_H_ | 6 #define CHROMECAST_MEDIA_CMA_BASE_DECODER_BUFFER_ADAPTER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chromecast/media/cma/base/decoder_buffer_base.h" | 11 #include "chromecast/media/base/decoder_buffer_base.h" |
12 | 12 |
13 namespace media { | 13 namespace media { |
14 class DecoderBuffer; | 14 class DecoderBuffer; |
15 } | 15 } |
16 | 16 |
17 namespace chromecast { | 17 namespace chromecast { |
18 namespace media { | 18 namespace media { |
19 | 19 |
20 // DecoderBufferAdapter wraps a ::media::DecoderBuffer | 20 // DecoderBufferAdapter wraps a ::media::DecoderBuffer |
21 // into a DecoderBufferBase. | 21 // into a DecoderBufferBase. |
(...skipping 25 matching lines...) Expand all Loading... |
47 scoped_refptr<::media::DecoderBuffer> const buffer_; | 47 scoped_refptr<::media::DecoderBuffer> const buffer_; |
48 mutable scoped_ptr<CastDecryptConfig> decrypt_config_; | 48 mutable scoped_ptr<CastDecryptConfig> decrypt_config_; |
49 | 49 |
50 DISALLOW_COPY_AND_ASSIGN(DecoderBufferAdapter); | 50 DISALLOW_COPY_AND_ASSIGN(DecoderBufferAdapter); |
51 }; | 51 }; |
52 | 52 |
53 } // namespace media | 53 } // namespace media |
54 } // namespace chromecast | 54 } // namespace chromecast |
55 | 55 |
56 #endif // CHROMECAST_MEDIA_CMA_BASE_DECODER_BUFFER_ADAPTER_H_ | 56 #endif // CHROMECAST_MEDIA_CMA_BASE_DECODER_BUFFER_ADAPTER_H_ |
OLD | NEW |