OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/mock_webrtc_peer_connection_handler
.h" | 5 #include "components/test_runner/mock_webrtc_peer_connection_handler.h" |
6 | 6 |
7 #include "content/shell/renderer/test_runner/mock_constraints.h" | 7 #include "components/test_runner/mock_constraints.h" |
8 #include "content/shell/renderer/test_runner/mock_webrtc_data_channel_handler.h" | 8 #include "components/test_runner/mock_webrtc_data_channel_handler.h" |
9 #include "content/shell/renderer/test_runner/mock_webrtc_dtmf_sender_handler.h" | 9 #include "components/test_runner/mock_webrtc_dtmf_sender_handler.h" |
10 #include "content/shell/renderer/test_runner/test_interfaces.h" | 10 #include "components/test_runner/test_interfaces.h" |
11 #include "content/shell/renderer/test_runner/web_test_delegate.h" | 11 #include "components/test_runner/web_test_delegate.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/WebMediaStreamSource.h" | 14 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
15 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 15 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
16 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" | 16 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" |
17 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandlerClient.h
" | 17 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandlerClient.h
" |
18 #include "third_party/WebKit/public/platform/WebRTCStatsResponse.h" | 18 #include "third_party/WebKit/public/platform/WebRTCStatsResponse.h" |
19 #include "third_party/WebKit/public/platform/WebRTCVoidRequest.h" | 19 #include "third_party/WebKit/public/platform/WebRTCVoidRequest.h" |
20 #include "third_party/WebKit/public/platform/WebString.h" | 20 #include "third_party/WebKit/public/platform/WebString.h" |
21 #include "third_party/WebKit/public/platform/WebVector.h" | 21 #include "third_party/WebKit/public/platform/WebVector.h" |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 const WebMediaStreamTrack& track) { | 401 const WebMediaStreamTrack& track) { |
402 return new MockWebRTCDTMFSenderHandler(track, interfaces_->GetDelegate()); | 402 return new MockWebRTCDTMFSenderHandler(track, interfaces_->GetDelegate()); |
403 } | 403 } |
404 | 404 |
405 void MockWebRTCPeerConnectionHandler::stop() { | 405 void MockWebRTCPeerConnectionHandler::stop() { |
406 stopped_ = true; | 406 stopped_ = true; |
407 task_list_.RevokeAll(); | 407 task_list_.RevokeAll(); |
408 } | 408 } |
409 | 409 |
410 } // namespace content | 410 } // namespace content |
OLD | NEW |