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

Side by Side Diff: media/audio/audio_manager.h

Issue 1186293003: Implement HasInputDevices in CrasAudioManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 (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_AUDIO_MANAGER_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_H_
6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_ 6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // Create a new AudioLog object for tracking the behavior for one or more 204 // Create a new AudioLog object for tracking the behavior for one or more
205 // instances of the given component. See AudioLogFactory for more details. 205 // instances of the given component. See AudioLogFactory for more details.
206 virtual scoped_ptr<AudioLog> CreateAudioLog( 206 virtual scoped_ptr<AudioLog> CreateAudioLog(
207 AudioLogFactory::AudioComponent component) = 0; 207 AudioLogFactory::AudioComponent component) = 0;
208 208
209 // Informs the audio manager that the system has support for a keyboard mic. 209 // Informs the audio manager that the system has support for a keyboard mic.
210 // This information will be passed on in the return value of 210 // This information will be passed on in the return value of
211 // GetInputStreamParameters as an effect. Only supported on ChromeOS. 211 // GetInputStreamParameters as an effect. Only supported on ChromeOS.
212 virtual void SetHasKeyboardMic() = 0; 212 virtual void SetHasKeyboardMic() = 0;
213 213
214 // Informs the audio manager that the system has support for an input device.
215 // This information will be cached for HasAudioInputDevices.
216 // Only supported on ChromeOS.
Daniel Erat 2015/06/18 14:53:20 nit: s/ChromeOS/Chrome OS/ (the product name has a
cychiang 2015/06/23 06:05:40 Done.
217 virtual void SetHasInputDevices(bool has_input_devices) = 0;
218
214 protected: 219 protected:
215 AudioManager(); 220 AudioManager();
216 221
217 private: 222 private:
218 DISALLOW_COPY_AND_ASSIGN(AudioManager); 223 DISALLOW_COPY_AND_ASSIGN(AudioManager);
219 }; 224 };
220 225
221 } // namespace media 226 } // namespace media
222 227
223 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_ 228 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698