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

Unified Diff: chromeos/chromeos_pref_names.cc

Issue 1380103003: Store audio device's active state in preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: chromeos/chromeos_pref_names.cc
diff --git a/chromeos/chromeos_pref_names.cc b/chromeos/chromeos_pref_names.cc
index e4c69fa2502be63357acf2fd2311f5a460aac6d4..baafa835384b757f5a33e87cec5aa919998f5522 100644
--- a/chromeos/chromeos_pref_names.cc
+++ b/chromeos/chromeos_pref_names.cc
@@ -33,6 +33,10 @@ const char kAudioOutputAllowed[] = "hardware.audio_output_enabled";
// |kAudioDevicesVolumePercent| setting.
const char kAudioVolumePercent[] = "settings.audio.volume_percent";
+// An integer pref storing the latest state of an audio device in Chrome OS UI.
Daniel Erat 2016/01/07 17:31:12 this isn't correct, is it? it looks like you're re
+// Different state values indicate whether or not a device has been selected
+// as the active one for audio I/O, or it's a new plugged device.
Daniel Erat 2016/01/07 17:31:12 if the different values are stored in an enum, ple
+const char kAudioDevicesState[] = "settings.audio.device_state";
} // namespace prefs
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698