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

Side by Side Diff: components/test_runner/mock_webrtc_peer_connection_handler.cc

Issue 1729683002: Remove old-style constraints from Chrome internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Complete the interface change Created 4 years, 9 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 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 "components/test_runner/mock_webrtc_peer_connection_handler.h" 5 #include "components/test_runner/mock_webrtc_peer_connection_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "components/test_runner/mock_webrtc_data_channel_handler.h" 9 #include "components/test_runner/mock_webrtc_data_channel_handler.h"
10 #include "components/test_runner/mock_webrtc_dtmf_sender_handler.h" 10 #include "components/test_runner/mock_webrtc_dtmf_sender_handler.h"
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 317
318 WebRTCSessionDescription MockWebRTCPeerConnectionHandler::localDescription() { 318 WebRTCSessionDescription MockWebRTCPeerConnectionHandler::localDescription() {
319 return local_description_; 319 return local_description_;
320 } 320 }
321 321
322 WebRTCSessionDescription MockWebRTCPeerConnectionHandler::remoteDescription() { 322 WebRTCSessionDescription MockWebRTCPeerConnectionHandler::remoteDescription() {
323 return remote_description_; 323 return remote_description_;
324 } 324 }
325 325
326 bool MockWebRTCPeerConnectionHandler::updateICE( 326 bool MockWebRTCPeerConnectionHandler::updateICE(
327 const WebRTCConfiguration& configuration, 327 const WebRTCConfiguration& configuration) {
328 const WebMediaConstraints& constraints) {
329 return true; 328 return true;
330 } 329 }
331 330
332 bool MockWebRTCPeerConnectionHandler::addICECandidate( 331 bool MockWebRTCPeerConnectionHandler::addICECandidate(
333 const WebRTCICECandidate& ice_candidate) { 332 const WebRTCICECandidate& ice_candidate) {
334 client_->didGenerateICECandidate(ice_candidate); 333 client_->didGenerateICECandidate(ice_candidate);
335 return true; 334 return true;
336 } 335 }
337 336
338 bool MockWebRTCPeerConnectionHandler::addICECandidate( 337 bool MockWebRTCPeerConnectionHandler::addICECandidate(
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 const WebMediaStreamTrack& track) { 397 const WebMediaStreamTrack& track) {
399 return new MockWebRTCDTMFSenderHandler(track, interfaces_->GetDelegate()); 398 return new MockWebRTCDTMFSenderHandler(track, interfaces_->GetDelegate());
400 } 399 }
401 400
402 void MockWebRTCPeerConnectionHandler::stop() { 401 void MockWebRTCPeerConnectionHandler::stop() {
403 stopped_ = true; 402 stopped_ = true;
404 task_list_.RevokeAll(); 403 task_list_.RevokeAll();
405 } 404 }
406 405
407 } // namespace test_runner 406 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/mock_webrtc_peer_connection_handler.h ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698