| 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_BASE_MOCK_AUDIO_RENDERER_SINK_H_ | 5 #ifndef MEDIA_BASE_MOCK_AUDIO_RENDERER_SINK_H_ |
| 6 #define MEDIA_BASE_MOCK_AUDIO_RENDERER_SINK_H_ | 6 #define MEDIA_BASE_MOCK_AUDIO_RENDERER_SINK_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "media/audio/audio_parameters.h" | 11 #include "media/base/audio_parameters.h" |
| 12 #include "media/base/audio_renderer_sink.h" | 12 #include "media/base/audio_renderer_sink.h" |
| 13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
| 14 | 14 |
| 15 namespace media { | 15 namespace media { |
| 16 | 16 |
| 17 class FakeOutputDevice; | 17 class FakeOutputDevice; |
| 18 | 18 |
| 19 class MockAudioRendererSink : public SwitchableAudioRendererSink { | 19 class MockAudioRendererSink : public SwitchableAudioRendererSink { |
| 20 public: | 20 public: |
| 21 MockAudioRendererSink(); | 21 MockAudioRendererSink(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 private: | 47 private: |
| 48 RenderCallback* callback_; | 48 RenderCallback* callback_; |
| 49 OutputDeviceInfo output_device_info_; | 49 OutputDeviceInfo output_device_info_; |
| 50 | 50 |
| 51 DISALLOW_COPY_AND_ASSIGN(MockAudioRendererSink); | 51 DISALLOW_COPY_AND_ASSIGN(MockAudioRendererSink); |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace media | 54 } // namespace media |
| 55 | 55 |
| 56 #endif // MEDIA_BASE_MOCK_AUDIO_RENDERER_SINK_H_ | 56 #endif // MEDIA_BASE_MOCK_AUDIO_RENDERER_SINK_H_ |
| OLD | NEW |