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

Side by Side Diff: chromeos/audio/audio_devices_pref_handler.h

Issue 19861002: Add test coverage for CrasAudioHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit. Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chromeos/audio/audio_devices_pref_handler_stub.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_H_ 5 #ifndef CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_H_
6 #define CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_H_ 6 #define CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chromeos/audio/audio_pref_observer.h" 10 #include "chromeos/audio/audio_pref_observer.h"
11 #include "chromeos/chromeos_export.h" 11 #include "chromeos/chromeos_export.h"
12 12
13 class PrefRegistrySimple; 13 class PrefService;
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 struct AudioDevice; 17 struct AudioDevice;
18 18
19 // Interface that handles audio preference related work, reads and writes 19 // Interface that handles audio preference related work, reads and writes
20 // audio preferences, and notifies AudioPrefObserver for audio preference 20 // audio preferences, and notifies AudioPrefObserver for audio preference
21 // changes. 21 // changes.
22 class CHROMEOS_EXPORT AudioDevicesPrefHandler 22 class CHROMEOS_EXPORT AudioDevicesPrefHandler
23 : public base::RefCountedThreadSafe<AudioDevicesPrefHandler> { 23 : public base::RefCountedThreadSafe<AudioDevicesPrefHandler> {
(...skipping 26 matching lines...) Expand all
50 protected: 50 protected:
51 virtual ~AudioDevicesPrefHandler() {} 51 virtual ~AudioDevicesPrefHandler() {}
52 52
53 private: 53 private:
54 friend class base::RefCountedThreadSafe<AudioDevicesPrefHandler>; 54 friend class base::RefCountedThreadSafe<AudioDevicesPrefHandler>;
55 }; 55 };
56 56
57 } // namespace chromeos 57 } // namespace chromeos
58 58
59 #endif // CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_H_ 59 #endif // CHROMEOS_AUDIO_AUDIO_DEVICES_PREF_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/audio/audio_devices_pref_handler_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698