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

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

Issue 251263002: test_runner: Move three Mock* files 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/MockWebRTCPeerConnectionHandler.h" 5 #include "content/shell/renderer/test_runner/MockWebRTCPeerConnectionHandler.h"
6 6
7 #include "content/shell/renderer/test_runner/MockConstraints.h" 7 #include "content/shell/renderer/test_runner/MockConstraints.h"
8 #include "content/shell/renderer/test_runner/MockWebRTCDTMFSenderHandler.h" 8 #include "content/shell/renderer/test_runner/MockWebRTCDTMFSenderHandler.h"
9 #include "content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.h" 9 #include "content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.h"
10 #include "content/shell/renderer/test_runner/TestInterfaces.h" 10 #include "content/shell/renderer/test_runner/TestInterfaces.h"
11 #include "content/shell/renderer/test_runner/WebTestDelegate.h" 11 #include "content/shell/renderer/test_runner/WebTestDelegate.h"
12 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" 12 #include "third_party/WebKit/public/platform/WebMediaConstraints.h"
13 #include "third_party/WebKit/public/platform/WebMediaStream.h" 13 #include "third_party/WebKit/public/platform/WebMediaStream.h"
14 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" 14 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
15 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" 15 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h"
16 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandlerClient.h " 16 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandlerClient.h "
17 #include "third_party/WebKit/public/platform/WebRTCStatsResponse.h" 17 #include "third_party/WebKit/public/platform/WebRTCStatsResponse.h"
18 #include "third_party/WebKit/public/platform/WebRTCVoidRequest.h" 18 #include "third_party/WebKit/public/platform/WebRTCVoidRequest.h"
19 #include "third_party/WebKit/public/platform/WebString.h" 19 #include "third_party/WebKit/public/platform/WebString.h"
20 #include "third_party/WebKit/public/platform/WebVector.h" 20 #include "third_party/WebKit/public/platform/WebVector.h"
21 21
22 using namespace blink; 22 using namespace blink;
23 using namespace content;
23 24
24 namespace WebTestRunner { 25 namespace WebTestRunner {
25 26
26 class RTCSessionDescriptionRequestSuccededTask : public WebMethodTask<MockWebRTC PeerConnectionHandler> { 27 class RTCSessionDescriptionRequestSuccededTask : public WebMethodTask<MockWebRTC PeerConnectionHandler> {
27 public: 28 public:
28 RTCSessionDescriptionRequestSuccededTask(MockWebRTCPeerConnectionHandler* ob ject, const WebRTCSessionDescriptionRequest& request, const WebRTCSessionDescrip tion& result) 29 RTCSessionDescriptionRequestSuccededTask(MockWebRTCPeerConnectionHandler* ob ject, const WebRTCSessionDescriptionRequest& request, const WebRTCSessionDescrip tion& result)
29 : WebMethodTask<MockWebRTCPeerConnectionHandler>(object) 30 : WebMethodTask<MockWebRTCPeerConnectionHandler>(object)
30 , m_request(request) 31 , m_request(request)
31 , m_result(result) 32 , m_result(result)
32 { 33 {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 { 277 {
277 return new MockWebRTCDTMFSenderHandler(track, m_interfaces->delegate()); 278 return new MockWebRTCDTMFSenderHandler(track, m_interfaces->delegate());
278 } 279 }
279 280
280 void MockWebRTCPeerConnectionHandler::stop() 281 void MockWebRTCPeerConnectionHandler::stop()
281 { 282 {
282 m_stopped = true; 283 m_stopped = true;
283 } 284 }
284 285
285 } 286 }
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/MockGrammarCheck.cpp ('k') | content/shell/renderer/test_runner/WebUserMediaClientMock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698