Index: chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h |
diff --git a/chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h b/chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h |
index 1a46dcfa303ef4b5bc01f47ed7b07d6473361f9d..4c1dcd08fbcc0528ef706ad2a8cc37d032916cdb 100644 |
--- a/chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h |
+++ b/chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h |
@@ -22,7 +22,8 @@ class AudioDevicesPrefHandlerImpl : public AudioDevicesPrefHandler { |
explicit AudioDevicesPrefHandlerImpl(PrefService* local_state); |
// Overridden from AudioDevicesPrefHandler. |
- virtual double GetVolumeGainValue(const AudioDevice& device) OVERRIDE; |
+ virtual double GetOutputVolumeValue(const AudioDevice* device) OVERRIDE; |
+ virtual double GetInputGainValue(const AudioDevice* device) OVERRIDE; |
virtual void SetVolumeGainValue(const AudioDevice& device, |
double value) OVERRIDE; |
@@ -53,6 +54,9 @@ class AudioDevicesPrefHandlerImpl : public AudioDevicesPrefHandler { |
void UpdateDevicesVolumePref(); |
void SaveDevicesVolumePref(); |
+ double GetVolumeGainPrefValue(const AudioDevice& device); |
+ double GetDeviceDefaultOutputVolumeValue(const AudioDevice& device); |
rkc
2013/09/06 22:01:48
nit: GetDeviceDefaultVolume should be file, the Ou
jennyz
2013/09/06 22:50:47
Done.
|
+ |
// Methods to migrate the mute and volume settings for a device from the |
// previous global pref value to the new per device pref value for the |
// current active device. If a previous global setting doesn't exist, we'll |