| Index: chromeos/audio/audio_pref_observer.h
|
| diff --git a/chromeos/audio/audio_pref_observer.h b/chromeos/audio/audio_pref_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..52393d40e402faa5bcf4af6f12277480a85cf72e
|
| --- /dev/null
|
| +++ b/chromeos/audio/audio_pref_observer.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROMEOS_AUDIO_AUDIO_PREF_OBSERVER_H_
|
| +#define CHROMEOS_AUDIO_AUDIO_PREF_OBSERVER_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "base/memory/ref_counted.h"
|
| +#include "chromeos/chromeos_export.h"
|
| +
|
| +class PrefRegistrySimple;
|
| +
|
| +namespace chromeos {
|
| +
|
| +// Interface for observing audio preference changes.
|
| +class CHROMEOS_EXPORT AudioPrefObserver {
|
| + public:
|
| + // Called when audio policy prefs changed.
|
| + virtual void OnAudioPolicyPrefChanged() = 0;
|
| +
|
| + protected:
|
| + virtual ~AudioPrefObserver() {}
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROMEOS_AUDIO_AUDIO_PREF_OBSERVER_H_
|
|
|