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

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: Move audio_manager to be a regular member of CrasAudioManager. Fix InitializeForTesting 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..61552558448b04d7bc00800e8b5c42d5825981c6 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 Chrome OS.
+ virtual void SetHasInputDevices(bool has_input_devices) = 0;
+
protected:
AudioManager();

Powered by Google App Engine
This is Rietveld 408576698