Index: chromeos/audio/audio_devices_pref_handler_stub.h |
diff --git a/chromeos/audio/audio_devices_pref_handler_stub.h b/chromeos/audio/audio_devices_pref_handler_stub.h |
index 4cb5d5f73b61243115502a1b7bdf89630262cec8..917242bb75d4b2f8e83c219cba69be0c07732c2c 100644 |
--- a/chromeos/audio/audio_devices_pref_handler_stub.h |
+++ b/chromeos/audio/audio_devices_pref_handler_stub.h |
@@ -18,6 +18,7 @@ class CHROMEOS_EXPORT AudioDevicesPrefHandlerStub |
public: |
using AudioDeviceMute = std::map<uint64_t, bool>; |
using AudioDeviceVolumeGain = std::map<uint64_t, int>; |
+ using AudioDeviceLastState = std::map<uint64_t, AudioDeviceState>; |
AudioDevicesPrefHandlerStub(); |
@@ -27,6 +28,9 @@ class CHROMEOS_EXPORT AudioDevicesPrefHandlerStub |
void SetVolumeGainValue(const AudioDevice& device, double value) override; |
bool GetMuteValue(const AudioDevice& device) override; |
void SetMuteValue(const AudioDevice& device, bool mute_on) override; |
+ AudioDeviceState GetDeviceState(const AudioDevice &device) override; |
+ void SetDeviceState(const AudioDevice& device, |
+ AudioDeviceState state) override; |
bool GetAudioOutputAllowedValue() override; |
void AddAudioPrefObserver(AudioPrefObserver* observer) override; |
void RemoveAudioPrefObserver(AudioPrefObserver* observer) override; |
@@ -37,6 +41,7 @@ class CHROMEOS_EXPORT AudioDevicesPrefHandlerStub |
private: |
AudioDeviceMute audio_device_mute_map_; |
AudioDeviceVolumeGain audio_device_volume_gain_map_; |
+ AudioDeviceLastState audio_device_state_map_; |
DISALLOW_COPY_AND_ASSIGN(AudioDevicesPrefHandlerStub); |
}; |