- add sources.
[platform/framework/web/crosswalk.git] / src / chromeos / audio / audio_pref_observer.h
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
3 // found in the LICENSE file.
4
5 #ifndef CHROMEOS_AUDIO_AUDIO_PREF_OBSERVER_H_
6 #define CHROMEOS_AUDIO_AUDIO_PREF_OBSERVER_H_
7
8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h"
10 #include "chromeos/chromeos_export.h"
11
12 class PrefRegistrySimple;
13
14 namespace chromeos {
15
16 // Interface for observing audio preference changes.
17 class CHROMEOS_EXPORT AudioPrefObserver {
18  public:
19   // Called when audio policy prefs changed.
20   virtual void OnAudioPolicyPrefChanged() = 0;
21
22  protected:
23   virtual ~AudioPrefObserver() {}
24 };
25
26 }  // namespace chromeos
27
28 #endif  // CHROMEOS_AUDIO_AUDIO_PREF_OBSERVER_H_