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" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 double VolumeDbToPercent(double volume_db) const; | 57 double VolumeDbToPercent(double volume_db) const; |
58 double PercentToVolumeDb(double volume_percent) const; | 58 double PercentToVolumeDb(double volume_percent) const; |
59 | 59 |
60 scoped_ptr<AudioMixer> mixer_; | 60 scoped_ptr<AudioMixer> mixer_; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(AudioHandler); | 62 DISALLOW_COPY_AND_ASSIGN(AudioHandler); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace chromeos | 65 } // namespace chromeos |
66 | 66 |
67 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::AudioHandler); | |
68 | |
69 #endif // CHROME_BROWSER_CHROMEOS_AUDIO_HANDLER_H_ | 67 #endif // CHROME_BROWSER_CHROMEOS_AUDIO_HANDLER_H_ |
OLD | NEW |