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

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: Fix string format 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
« no previous file with comments | « chromeos/chromeos_pref_names.h ('k') | chromeos/dbus/audio_node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/chromeos_pref_names.cc
diff --git a/chromeos/chromeos_pref_names.cc b/chromeos/chromeos_pref_names.cc
index e4c69fa2502be63357acf2fd2311f5a460aac6d4..aaa9120942debccad171d72dd1ed22e8fd5467db 100644
--- a/chromeos/chromeos_pref_names.cc
+++ b/chromeos/chromeos_pref_names.cc
@@ -33,6 +33,11 @@ const char kAudioOutputAllowed[] = "hardware.audio_output_enabled";
// |kAudioDevicesVolumePercent| setting.
const char kAudioVolumePercent[] = "settings.audio.volume_percent";
+// A dictionary pref that maps stable device id string to |AudioDeviceState|.
+// 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.
+const char kAudioDevicesState[] = "settings.audio.device_state";
+
} // namespace prefs
} // namespace chromeos
« no previous file with comments | « chromeos/chromeos_pref_names.h ('k') | chromeos/dbus/audio_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698