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 MEDIA_AUDIO_AUDIO_MANAGER_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_H_ |
6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_ | 6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 virtual MessageLoop* GetMessageLoop() = 0; | 125 virtual MessageLoop* GetMessageLoop() = 0; |
126 | 126 |
127 protected: | 127 protected: |
128 // Called from Create() to initialize the instance. | 128 // Called from Create() to initialize the instance. |
129 virtual void Init() = 0; | 129 virtual void Init() = 0; |
130 | 130 |
131 friend class base::RefCountedThreadSafe<AudioManager>; | 131 friend class base::RefCountedThreadSafe<AudioManager>; |
132 virtual ~AudioManager(); | 132 virtual ~AudioManager(); |
133 }; | 133 }; |
134 | 134 |
135 DISABLE_RUNNABLE_METHOD_REFCOUNT(AudioManager); | |
136 | |
137 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_ | 135 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_ |
OLD | NEW |