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

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

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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/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
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
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/WebTestInterfaces.h ('k') | content/shell/renderer/test_runner/WebTestProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698