| 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_IMPL_H_ | 5 #ifndef CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_IMPL_H_ |
| 6 #define CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_IMPL_H_ | 6 #define CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "base/prefs/pref_change_registrar.h" |
| 12 #include "base/values.h" | 13 #include "base/values.h" |
| 13 #include "chromeos/audio/audio_devices_pref_handler.h" | 14 #include "chromeos/audio/audio_devices_pref_handler.h" |
| 14 #include "chromeos/chromeos_export.h" | 15 #include "chromeos/chromeos_export.h" |
| 15 #include "components/prefs/pref_change_registrar.h" | |
| 16 | 16 |
| 17 class PrefRegistrySimple; | 17 class PrefRegistrySimple; |
| 18 class PrefService; | 18 class PrefService; |
| 19 | 19 |
| 20 namespace chromeos { | 20 namespace chromeos { |
| 21 | 21 |
| 22 // Class which implements AudioDevicesPrefHandler interface and register audio | 22 // Class which implements AudioDevicesPrefHandler interface and register audio |
| 23 // preferences as well. | 23 // preferences as well. |
| 24 class CHROMEOS_EXPORT AudioDevicesPrefHandlerImpl | 24 class CHROMEOS_EXPORT AudioDevicesPrefHandlerImpl |
| 25 : public AudioDevicesPrefHandler { | 25 : public AudioDevicesPrefHandler { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 PrefChangeRegistrar pref_change_registrar_; | 88 PrefChangeRegistrar pref_change_registrar_; |
| 89 base::ObserverList<AudioPrefObserver> observers_; | 89 base::ObserverList<AudioPrefObserver> observers_; |
| 90 | 90 |
| 91 DISALLOW_COPY_AND_ASSIGN(AudioDevicesPrefHandlerImpl); | 91 DISALLOW_COPY_AND_ASSIGN(AudioDevicesPrefHandlerImpl); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace chromeos | 94 } // namespace chromeos |
| 95 | 95 |
| 96 #endif // CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_IMPL_H_ | 96 #endif // CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_IMPL_H_ |
| OLD | NEW |