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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: media/audio/audio_manager.h
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
index 1391742fe5f68a83e08da7e0aa3f052c22e5f4a9..930940724b6f19d0eb6d5fc69cd16bfe75e29f40 100644
--- a/media/audio/audio_manager.h
+++ b/media/audio/audio_manager.h
@@ -211,6 +211,11 @@ class MEDIA_EXPORT AudioManager {
// GetInputStreamParameters as an effect. Only supported on ChromeOS.
virtual void SetHasKeyboardMic() = 0;
+ // Informs the audio manager that the system has support for an input device.
+ // This information will be cached for HasAudioInputDevices.
+ // 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.
+ virtual void SetHasInputDevices(bool has_input_devices) = 0;
+
protected:
AudioManager();

Powered by Google App Engine
This is Rietveld 408576698