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

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

Issue 2055553003: Change the default rtcp mux policy from negotiate to require. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years 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 <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 452
453 WebRTCSessionDescription MockWebRTCPeerConnectionHandler::remoteDescription() { 453 WebRTCSessionDescription MockWebRTCPeerConnectionHandler::remoteDescription() {
454 return remote_description_; 454 return remote_description_;
455 } 455 }
456 456
457 bool MockWebRTCPeerConnectionHandler::setConfiguration( 457 bool MockWebRTCPeerConnectionHandler::setConfiguration(
458 const WebRTCConfiguration& configuration) { 458 const WebRTCConfiguration& configuration) {
459 return true; 459 return true;
460 } 460 }
461 461
462 void MockWebRTCPeerConnectionHandler::logSelectedRtcpMuxPolicy(
463 blink::RtcpMuxPolicy selectedRtcpMuxPolicy) {}
464
465 bool MockWebRTCPeerConnectionHandler::addICECandidate( 462 bool MockWebRTCPeerConnectionHandler::addICECandidate(
466 const WebRTCICECandidate& ice_candidate) { 463 const WebRTCICECandidate& ice_candidate) {
467 client_->didGenerateICECandidate(ice_candidate); 464 client_->didGenerateICECandidate(ice_candidate);
468 return true; 465 return true;
469 } 466 }
470 467
471 bool MockWebRTCPeerConnectionHandler::addICECandidate( 468 bool MockWebRTCPeerConnectionHandler::addICECandidate(
472 const WebRTCVoidRequest& request, 469 const WebRTCVoidRequest& request,
473 const WebRTCICECandidate& ice_candidate) { 470 const WebRTCICECandidate& ice_candidate) {
474 PostRequestResult(request); 471 PostRequestResult(request);
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 const WebMediaStreamTrack& track) { 564 const WebMediaStreamTrack& track) {
568 return new MockWebRTCDTMFSenderHandler(track, interfaces_->GetDelegate()); 565 return new MockWebRTCDTMFSenderHandler(track, interfaces_->GetDelegate());
569 } 566 }
570 567
571 void MockWebRTCPeerConnectionHandler::stop() { 568 void MockWebRTCPeerConnectionHandler::stop() {
572 stopped_ = true; 569 stopped_ = true;
573 weak_factory_.InvalidateWeakPtrs(); 570 weak_factory_.InvalidateWeakPtrs();
574 } 571 }
575 572
576 } // namespace test_runner 573 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/mock_webrtc_peer_connection_handler.h ('k') | content/renderer/media/rtc_peer_connection_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698