Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.h

Issue 1875623002: Convert //chromecast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BACKEND_ALSA_STREAM_MIXER_ALSA_INPUT_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_INPUT_H_
6 #define CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_INPUT_H_ 6 #define CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_INPUT_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "base/threading/thread_checker.h" 12 #include "base/threading/thread_checker.h"
12 #include "chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h" 13 #include "chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h"
13 14
14 namespace chromecast { 15 namespace chromecast {
15 namespace media { 16 namespace media {
16 17
17 class DecoderBufferBase; 18 class DecoderBufferBase;
18 class StreamMixerAlsaInputImpl; 19 class StreamMixerAlsaInputImpl;
19 20
20 // Input handle to the mixer. All methods (including constructor and destructor) 21 // Input handle to the mixer. All methods (including constructor and destructor)
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 StreamMixerAlsaInputImpl* impl_; 64 StreamMixerAlsaInputImpl* impl_;
64 base::ThreadChecker thread_checker_; 65 base::ThreadChecker thread_checker_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(StreamMixerAlsaInput); 67 DISALLOW_COPY_AND_ASSIGN(StreamMixerAlsaInput);
67 }; 68 };
68 69
69 } // namespace media 70 } // namespace media
70 } // namespace chromecast 71 } // namespace chromecast
71 72
72 #endif // CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_INPUT_H_ 73 #endif // CHROMECAST_MEDIA_CMA_BACKEND_ALSA_STREAM_MIXER_ALSA_INPUT_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc ('k') | chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698