| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "content/shell/renderer/test_runner/WebTestInterfaces.h" | 5 #include "content/shell/renderer/test_runner/WebTestInterfaces.h" |
| 6 | 6 |
| 7 #include "content/shell/renderer/test_runner/MockWebMIDIAccessor.h" | |
| 8 #include "content/shell/renderer/test_runner/MockWebMediaStreamCenter.h" | 7 #include "content/shell/renderer/test_runner/MockWebMediaStreamCenter.h" |
| 9 #include "content/shell/renderer/test_runner/TestInterfaces.h" | 8 #include "content/shell/renderer/test_runner/TestInterfaces.h" |
| 10 #include "content/shell/renderer/test_runner/mock_web_audio_device.h" | 9 #include "content/shell/renderer/test_runner/mock_web_audio_device.h" |
| 10 #include "content/shell/renderer/test_runner/mock_web_midi_accessor.h" |
| 11 #include "content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler
.h" | 11 #include "content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler
.h" |
| 12 #include "content/shell/renderer/test_runner/test_runner.h" | 12 #include "content/shell/renderer/test_runner/test_runner.h" |
| 13 | 13 |
| 14 using namespace blink; | 14 using namespace blink; |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 | 17 |
| 18 WebTestInterfaces::WebTestInterfaces() | 18 WebTestInterfaces::WebTestInterfaces() |
| 19 : m_interfaces(new TestInterfaces()) | 19 : m_interfaces(new TestInterfaces()) |
| 20 { | 20 { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 { | 83 { |
| 84 return new MockWebMIDIAccessor(client, m_interfaces.get()); | 84 return new MockWebMIDIAccessor(client, m_interfaces.get()); |
| 85 } | 85 } |
| 86 | 86 |
| 87 WebAudioDevice* WebTestInterfaces::createAudioDevice(double sampleRate) | 87 WebAudioDevice* WebTestInterfaces::createAudioDevice(double sampleRate) |
| 88 { | 88 { |
| 89 return new MockWebAudioDevice(sampleRate); | 89 return new MockWebAudioDevice(sampleRate); |
| 90 } | 90 } |
| 91 | 91 |
| 92 } // namespace content | 92 } // namespace content |
| OLD | NEW |