OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_FACTORY_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_FACTORY_H_ |
6 #define CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_FACTORY_H_ | 6 #define CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_FACTORY_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 | 10 |
12 namespace media { | 11 namespace media { |
13 class AudioRendererSink; | 12 class AudioRendererSink; |
14 } | 13 } |
15 | 14 |
16 namespace content { | 15 namespace content { |
17 | 16 |
(...skipping 20 matching lines...) Expand all Loading... |
38 // The current globally registered factory. This is NULL when we should | 37 // The current globally registered factory. This is NULL when we should |
39 // create the default AudioRendererSinks. | 38 // create the default AudioRendererSinks. |
40 static AudioDeviceFactory* factory_; | 39 static AudioDeviceFactory* factory_; |
41 | 40 |
42 DISALLOW_COPY_AND_ASSIGN(AudioDeviceFactory); | 41 DISALLOW_COPY_AND_ASSIGN(AudioDeviceFactory); |
43 }; | 42 }; |
44 | 43 |
45 } // namespace content | 44 } // namespace content |
46 | 45 |
47 #endif // CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_FACTORY_H_ | 46 #endif // CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_FACTORY_H_ |
OLD | NEW |