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/MockWebAudioDevice.h" | 7 #include "content/shell/renderer/test_runner/MockWebAudioDevice.h" |
8 #include "content/shell/renderer/test_runner/MockWebMIDIAccessor.h" | 8 #include "content/shell/renderer/test_runner/MockWebMIDIAccessor.h" |
9 #include "content/shell/renderer/test_runner/MockWebMediaStreamCenter.h" | 9 #include "content/shell/renderer/test_runner/MockWebMediaStreamCenter.h" |
10 #include "content/shell/renderer/test_runner/MockWebRTCPeerConnectionHandler.h" | 10 #include "content/shell/renderer/test_runner/MockWebRTCPeerConnectionHandler.h" |
11 #include "content/shell/renderer/test_runner/TestInterfaces.h" | 11 #include "content/shell/renderer/test_runner/TestInterfaces.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 using namespace content; | |
16 | 15 |
17 namespace WebTestRunner { | 16 namespace content { |
18 | 17 |
19 WebTestInterfaces::WebTestInterfaces() | 18 WebTestInterfaces::WebTestInterfaces() |
20 : m_interfaces(new TestInterfaces()) | 19 : m_interfaces(new TestInterfaces()) |
21 { | 20 { |
22 } | 21 } |
23 | 22 |
24 WebTestInterfaces::~WebTestInterfaces() | 23 WebTestInterfaces::~WebTestInterfaces() |
25 { | 24 { |
26 } | 25 } |
27 | 26 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 WebMIDIAccessor* WebTestInterfaces::createMIDIAccessor(WebMIDIAccessorClient* cl
ient) | 82 WebMIDIAccessor* WebTestInterfaces::createMIDIAccessor(WebMIDIAccessorClient* cl
ient) |
84 { | 83 { |
85 return new MockWebMIDIAccessor(client, m_interfaces.get()); | 84 return new MockWebMIDIAccessor(client, m_interfaces.get()); |
86 } | 85 } |
87 | 86 |
88 WebAudioDevice* WebTestInterfaces::createAudioDevice(double sampleRate) | 87 WebAudioDevice* WebTestInterfaces::createAudioDevice(double sampleRate) |
89 { | 88 { |
90 return new MockWebAudioDevice(sampleRate); | 89 return new MockWebAudioDevice(sampleRate); |
91 } | 90 } |
92 | 91 |
93 } | 92 } // namespace content |
OLD | NEW |