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

Side by Side Diff: components/audio_modem/audio_player_impl.h

Issue 1906423005: Replace scoped_ptr with std::unique_ptr in //media/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-media-base: android 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 COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_ 5 #ifndef COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_
6 #define COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_ 6 #define COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h"
15 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
16 #include "components/audio_modem/audio_player.h" 17 #include "components/audio_modem/audio_player.h"
17 #include "media/audio/audio_io.h" 18 #include "media/audio/audio_io.h"
18 19
19 namespace media { 20 namespace media {
20 class AudioBus; 21 class AudioBus;
21 class AudioBusRefCounted; 22 class AudioBusRefCounted;
22 } 23 }
23 24
24 namespace audio_modem { 25 namespace audio_modem {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 80
80 // Index to the frame in the samples that we need to play next. 81 // Index to the frame in the samples that we need to play next.
81 int frame_index_; 82 int frame_index_;
82 83
83 DISALLOW_COPY_AND_ASSIGN(AudioPlayerImpl); 84 DISALLOW_COPY_AND_ASSIGN(AudioPlayerImpl);
84 }; 85 };
85 86
86 } // namespace audio_modem 87 } // namespace audio_modem
87 88
88 #endif // COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_ 89 #endif // COMPONENTS_AUDIO_MODEM_AUDIO_PLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/output/renderer_pixeltest.cc ('k') | content/browser/media/session/media_session_delegate_android_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698