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

Side by Side Diff: content/shell/renderer/test_runner/MockWebRTCPeerConnectionHandler.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/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;
24 23
25 namespace WebTestRunner { 24 namespace content {
26 25
27 class RTCSessionDescriptionRequestSuccededTask : public WebMethodTask<MockWebRTC PeerConnectionHandler> { 26 class RTCSessionDescriptionRequestSuccededTask : public WebMethodTask<MockWebRTC PeerConnectionHandler> {
28 public: 27 public:
29 RTCSessionDescriptionRequestSuccededTask(MockWebRTCPeerConnectionHandler* ob ject, const WebRTCSessionDescriptionRequest& request, const WebRTCSessionDescrip tion& result) 28 RTCSessionDescriptionRequestSuccededTask(MockWebRTCPeerConnectionHandler* ob ject, const WebRTCSessionDescriptionRequest& request, const WebRTCSessionDescrip tion& result)
30 : WebMethodTask<MockWebRTCPeerConnectionHandler>(object) 29 : WebMethodTask<MockWebRTCPeerConnectionHandler>(object)
31 , m_request(request) 30 , m_request(request)
32 , m_result(result) 31 , m_result(result)
33 { 32 {
34 } 33 }
35 34
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 WebRTCDTMFSenderHandler* MockWebRTCPeerConnectionHandler::createDTMFSender(const WebMediaStreamTrack& track) 275 WebRTCDTMFSenderHandler* MockWebRTCPeerConnectionHandler::createDTMFSender(const WebMediaStreamTrack& track)
277 { 276 {
278 return new MockWebRTCDTMFSenderHandler(track, m_interfaces->delegate()); 277 return new MockWebRTCDTMFSenderHandler(track, m_interfaces->delegate());
279 } 278 }
280 279
281 void MockWebRTCPeerConnectionHandler::stop() 280 void MockWebRTCPeerConnectionHandler::stop()
282 { 281 {
283 m_stopped = true; 282 m_stopped = true;
284 } 283 }
285 284
286 } 285 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698