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_IPC_STREAMER_CODED_FRAME_PROVIDER_HOST_H_ | 5 #ifndef CHROMECAST_MEDIA_CMA_IPC_STREAMER_CODED_FRAME_PROVIDER_HOST_H_ |
6 #define CHROMECAST_MEDIA_CMA_IPC_STREAMER_CODED_FRAME_PROVIDER_HOST_H_ | 6 #define CHROMECAST_MEDIA_CMA_IPC_STREAMER_CODED_FRAME_PROVIDER_HOST_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
12 #include "chromecast/media/cma/base/coded_frame_provider.h" | 13 #include "chromecast/media/cma/base/coded_frame_provider.h" |
13 #include "media/base/audio_decoder_config.h" | 14 #include "media/base/audio_decoder_config.h" |
14 #include "media/base/video_decoder_config.h" | 15 #include "media/base/video_decoder_config.h" |
15 | 16 |
16 namespace chromecast { | 17 namespace chromecast { |
17 namespace media { | 18 namespace media { |
18 class MediaMessageFifo; | 19 class MediaMessageFifo; |
19 | 20 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 base::WeakPtr<CodedFrameProviderHost> weak_this_; | 54 base::WeakPtr<CodedFrameProviderHost> weak_this_; |
54 base::WeakPtrFactory<CodedFrameProviderHost> weak_factory_; | 55 base::WeakPtrFactory<CodedFrameProviderHost> weak_factory_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(CodedFrameProviderHost); | 57 DISALLOW_COPY_AND_ASSIGN(CodedFrameProviderHost); |
57 }; | 58 }; |
58 | 59 |
59 } // namespace media | 60 } // namespace media |
60 } // namespace chromecast | 61 } // namespace chromecast |
61 | 62 |
62 #endif // CHROMECAST_MEDIA_CMA_IPC_STREAMER_CODED_FRAME_PROVIDER_HOST_H_ | 63 #endif // CHROMECAST_MEDIA_CMA_IPC_STREAMER_CODED_FRAME_PROVIDER_HOST_H_ |
OLD | NEW |