| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ |
| 6 #define MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ | 6 #define MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/thread.h" | 10 #include "base/threading/thread.h" |
| 11 #include "media/audio/audio_manager.h" | 11 #include "media/audio/audio_manager.h" |
| 12 | 12 |
| 13 class AudioOutputDispatcher; | 13 class AudioOutputDispatcher; |
| 14 | 14 |
| 15 // AudioManagerBase provides AudioManager functions common for all platforms. | 15 // AudioManagerBase provides AudioManager functions common for all platforms. |
| 16 class AudioManagerBase : public AudioManager { | 16 class AudioManagerBase : public AudioManager { |
| 17 public: | 17 public: |
| 18 AudioManagerBase(); | 18 AudioManagerBase(); |
| 19 | 19 |
| 20 virtual void Init(); | 20 virtual void Init(); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 41 base::Thread audio_thread_; | 41 base::Thread audio_thread_; |
| 42 | 42 |
| 43 bool initialized_; | 43 bool initialized_; |
| 44 | 44 |
| 45 AudioOutputDispatchersMap output_dispatchers_; | 45 AudioOutputDispatchersMap output_dispatchers_; |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase); | 47 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ | 50 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ |
| OLD | NEW |