| Index: extensions/browser/api/audio/audio_service.cc
|
| diff --git a/extensions/browser/api/audio/audio_service.cc b/extensions/browser/api/audio/audio_service.cc
|
| index 8c0ab27161988e13c5b2ec8cc380a9bbf19cf118..bdc1ea697c37a0acf88dd30e91209797304fc35a 100644
|
| --- a/extensions/browser/api/audio/audio_service.cc
|
| +++ b/extensions/browser/api/audio/audio_service.cc
|
| @@ -21,10 +21,12 @@ class AudioServiceImpl : public AudioService {
|
| bool SetActiveDeviceLists(
|
| const std::unique_ptr<DeviceIdList>& input_devices,
|
| const std::unique_ptr<DeviceIdList>& output_devives) override;
|
| - bool SetDeviceProperties(const std::string& device_id,
|
| - bool muted,
|
| + bool SetDeviceSoundLevel(const std::string& device_id,
|
| int volume,
|
| int gain) override;
|
| + bool SetMuteForDevice(const std::string& device_id, bool value) override;
|
| + bool SetMute(bool is_input, bool value) override;
|
| + bool GetMute(bool is_input, bool* value) override;
|
| };
|
|
|
| void AudioServiceImpl::AddObserver(Observer* observer) {
|
| @@ -54,11 +56,23 @@ bool AudioServiceImpl::SetActiveDeviceLists(
|
| void AudioServiceImpl::SetActiveDevices(const DeviceIdList& device_list) {
|
| }
|
|
|
| -bool AudioServiceImpl::SetDeviceProperties(const std::string& device_id,
|
| - bool muted,
|
| +bool AudioServiceImpl::SetDeviceSoundLevel(const std::string& device_id,
|
| int volume,
|
| int gain) {
|
| return false;
|
| }
|
|
|
| +bool AudioServiceImpl::SetMuteForDevice(const std::string& device_id,
|
| + bool value) {
|
| + return false;
|
| +}
|
| +
|
| +bool AudioServiceImpl::SetMute(bool is_input, bool value) {
|
| + return false;
|
| +}
|
| +
|
| +bool AudioServiceImpl::GetMute(bool is_input, bool* value) {
|
| + return false;
|
| +}
|
| +
|
| } // namespace extensions
|
|
|