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

Side by Side Diff: media/audio/android/audio_manager_android.h

Issue 1366123002: Cleanup: IWYU for base/gtest_prod_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest_iwyu
Patch Set: more lint Created 5 years, 2 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
« no previous file with comments | « gpu/config/gpu_control_list.h ('k') | media/audio/virtual_audio_input_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_ 5 #ifndef MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
6 #define MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_ 6 #define MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
11 #include "base/gtest_prod_util.h"
12 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
13 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
14 #include "media/audio/audio_manager_base.h" 13 #include "media/audio/audio_manager_base.h"
15 14
16 namespace media { 15 namespace media {
17 16
18 class OpenSLESOutputStream; 17 class OpenSLESOutputStream;
19 18
20 // Android implemention of AudioManager. 19 // Android implemention of AudioManager.
21 class MEDIA_EXPORT AudioManagerAndroid : public AudioManagerBase { 20 class MEDIA_EXPORT AudioManagerAndroid : public AudioManagerBase {
22 public: 21 public:
23 AudioManagerAndroid(AudioLogFactory* audio_log_factory); 22 explicit AudioManagerAndroid(AudioLogFactory* audio_log_factory);
24 23
25 // Implementation of AudioManager. 24 // Implementation of AudioManager.
26 bool HasAudioOutputDevices() override; 25 bool HasAudioOutputDevices() override;
27 bool HasAudioInputDevices() override; 26 bool HasAudioInputDevices() override;
28 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; 27 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override;
29 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; 28 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override;
30 AudioParameters GetInputStreamParameters( 29 AudioParameters GetInputStreamParameters(
31 const std::string& device_id) override; 30 const std::string& device_id) override;
32 31
33 AudioOutputStream* MakeAudioOutputStream( 32 AudioOutputStream* MakeAudioOutputStream(
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // If set, overrides volume level on output streams 94 // If set, overrides volume level on output streams
96 bool output_volume_override_set_; 95 bool output_volume_override_set_;
97 double output_volume_override_; 96 double output_volume_override_;
98 97
99 DISALLOW_COPY_AND_ASSIGN(AudioManagerAndroid); 98 DISALLOW_COPY_AND_ASSIGN(AudioManagerAndroid);
100 }; 99 };
101 100
102 } // namespace media 101 } // namespace media
103 102
104 #endif // MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_ 103 #endif // MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_control_list.h ('k') | media/audio/virtual_audio_input_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698