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

Unified Diff: chrome/browser/chromeos/audio_mixer_alsa.h

Issue 6410039: Update AudioMixerAlsa to not use PrefMember. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/audio_mixer_alsa.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/audio_mixer_alsa.h
diff --git a/chrome/browser/chromeos/audio_mixer_alsa.h b/chrome/browser/chromeos/audio_mixer_alsa.h
index 3cbe7ac1dfc9d6cee45948d90839fabb82199c2d..7196754516b22a83a356f12fbbd7860de907f58b 100644
--- a/chrome/browser/chromeos/audio_mixer_alsa.h
+++ b/chrome/browser/chromeos/audio_mixer_alsa.h
@@ -12,7 +12,8 @@
#include "base/synchronization/lock.h"
#include "base/threading/thread.h"
#include "chrome/browser/chromeos/audio_mixer.h"
-#include "chrome/browser/prefs/pref_member.h"
+
+class PrefService;
struct _snd_mixer_elem;
struct _snd_mixer;
@@ -96,8 +97,7 @@ class AudioMixerAlsa : public AudioMixer {
_snd_mixer_elem* elem_master_;
_snd_mixer_elem* elem_pcm_;
- IntegerPrefMember mute_pref_;
- DoublePrefMember volume_pref_;
+ PrefService* prefs_;
scoped_ptr<base::Thread> thread_;
@@ -109,4 +109,3 @@ class AudioMixerAlsa : public AudioMixer {
DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::AudioMixerAlsa);
#endif // CHROME_BROWSER_CHROMEOS_AUDIO_MIXER_ALSA_H_
-
« no previous file with comments | « no previous file | chrome/browser/chromeos/audio_mixer_alsa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698