OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_CHROMEOS_AUDIO_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_AUDIO_HANDLER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_AUDIO_HANDLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_AUDIO_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/threading/thread.h" | 11 #include "base/threading/thread.h" |
12 | 12 |
13 class InProcessBrowserTest; | |
14 template <typename T> struct DefaultSingletonTraits; | 13 template <typename T> struct DefaultSingletonTraits; |
15 | 14 |
16 namespace chromeos { | 15 namespace chromeos { |
17 | 16 |
18 class AudioMixer; | 17 class AudioMixer; |
19 | 18 |
20 class AudioHandler { | 19 class AudioHandler { |
21 public: | 20 public: |
22 static void Initialize(); | 21 static void Initialize(); |
23 static void Shutdown(); | 22 static void Shutdown(); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 scoped_ptr<AudioMixer> mixer_; | 60 scoped_ptr<AudioMixer> mixer_; |
62 | 61 |
63 DISALLOW_COPY_AND_ASSIGN(AudioHandler); | 62 DISALLOW_COPY_AND_ASSIGN(AudioHandler); |
64 }; | 63 }; |
65 | 64 |
66 } // namespace chromeos | 65 } // namespace chromeos |
67 | 66 |
68 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::AudioHandler); | 67 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::AudioHandler); |
69 | 68 |
70 #endif // CHROME_BROWSER_CHROMEOS_AUDIO_HANDLER_H_ | 69 #endif // CHROME_BROWSER_CHROMEOS_AUDIO_HANDLER_H_ |
OLD | NEW |