Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: content/shell/renderer/test_runner/WebTestInterfaces.cpp

Issue 419823002: test_runner: Migrate MockWebMIDIAccessor to Chromium C++ style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698