| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_STUB_H_ | 5 #ifndef CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_STUB_H_ |
| 6 #define CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_STUB_H_ | 6 #define CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_STUB_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 | 11 |
| 10 #include "base/macros.h" | 12 #include "base/macros.h" |
| 11 #include "chromeos/audio/audio_devices_pref_handler.h" | 13 #include "chromeos/audio/audio_devices_pref_handler.h" |
| 12 | 14 |
| 13 namespace chromeos { | 15 namespace chromeos { |
| 14 | 16 |
| 15 // Stub class for AudioDevicesPrefHandler, used for testing. | 17 // Stub class for AudioDevicesPrefHandler, used for testing. |
| 16 class CHROMEOS_EXPORT AudioDevicesPrefHandlerStub | 18 class CHROMEOS_EXPORT AudioDevicesPrefHandlerStub |
| 17 : public AudioDevicesPrefHandler { | 19 : public AudioDevicesPrefHandler { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 37 private: | 39 private: |
| 38 AudioDeviceMute audio_device_mute_map_; | 40 AudioDeviceMute audio_device_mute_map_; |
| 39 AudioDeviceVolumeGain audio_device_volume_gain_map_; | 41 AudioDeviceVolumeGain audio_device_volume_gain_map_; |
| 40 | 42 |
| 41 DISALLOW_COPY_AND_ASSIGN(AudioDevicesPrefHandlerStub); | 43 DISALLOW_COPY_AND_ASSIGN(AudioDevicesPrefHandlerStub); |
| 42 }; | 44 }; |
| 43 | 45 |
| 44 } // namespace chromeos | 46 } // namespace chromeos |
| 45 | 47 |
| 46 #endif // CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_STUB_H_ | 48 #endif // CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_STUB_H_ |
| OLD | NEW |