Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: chromeos/audio/audio_pref_observer.h

Issue 14314002: Implement new audio handler which talks to the new audio dbus apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments in class header file and todo for cleaning up legacy code. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698