| 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 MEDIA_AUDIO_NULL_AUDIO_SINK_H_ | 5 #ifndef MEDIA_AUDIO_NULL_AUDIO_SINK_H_ |
| 6 #define MEDIA_AUDIO_NULL_AUDIO_SINK_H_ | 6 #define MEDIA_AUDIO_NULL_AUDIO_SINK_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "media/base/audio_renderer_sink.h" | 12 #include "media/base/audio_renderer_sink.h" |
| 12 | 13 |
| 13 namespace base { | 14 namespace base { |
| 14 class SingleThreadTaskRunner; | 15 class SingleThreadTaskRunner; |
| 15 } | 16 } |
| 16 | 17 |
| 17 namespace media { | 18 namespace media { |
| 18 class AudioBus; | 19 class AudioBus; |
| 19 class AudioHash; | 20 class AudioHash; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; | 60 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
| 60 scoped_ptr<FakeAudioWorker> fake_worker_; | 61 scoped_ptr<FakeAudioWorker> fake_worker_; |
| 61 scoped_ptr<AudioBus> audio_bus_; | 62 scoped_ptr<AudioBus> audio_bus_; |
| 62 | 63 |
| 63 DISALLOW_COPY_AND_ASSIGN(NullAudioSink); | 64 DISALLOW_COPY_AND_ASSIGN(NullAudioSink); |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 } // namespace media | 67 } // namespace media |
| 67 | 68 |
| 68 #endif // MEDIA_AUDIO_NULL_AUDIO_SINK_H_ | 69 #endif // MEDIA_AUDIO_NULL_AUDIO_SINK_H_ |
| OLD | NEW |