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

Unified Diff: content/renderer/media/mock_peer_connection_impl.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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/mock_peer_connection_impl.cc
diff --git a/content/renderer/media/mock_peer_connection_impl.cc b/content/renderer/media/mock_peer_connection_impl.cc
index cc8f0bb93f3c7462c8f59c5002b346d9b3cfc4b0..759147b67df5974d14cf64b857ac235d532503a1 100644
--- a/content/renderer/media/mock_peer_connection_impl.cc
+++ b/content/renderer/media/mock_peer_connection_impl.cc
@@ -18,7 +18,6 @@ using webrtc::CreateSessionDescriptionObserver;
using webrtc::DtmfSenderInterface;
using webrtc::DtmfSenderObserverInterface;
using webrtc::IceCandidateInterface;
-using webrtc::MediaConstraintsInterface;
using webrtc::MediaStreamInterface;
using webrtc::PeerConnectionInterface;
using webrtc::SessionDescriptionInterface;
@@ -226,7 +225,7 @@ void MockPeerConnectionImpl::AddRemoteStream(MediaStreamInterface* stream) {
void MockPeerConnectionImpl::CreateOffer(
CreateSessionDescriptionObserver* observer,
- const MediaConstraintsInterface* constraints) {
+ const RTCOfferAnswerOptions& options) {
DCHECK(observer);
created_sessiondescription_.reset(
dependency_factory_->CreateSessionDescription("unknown", kDummyOffer,
@@ -235,7 +234,7 @@ void MockPeerConnectionImpl::CreateOffer(
void MockPeerConnectionImpl::CreateAnswer(
CreateSessionDescriptionObserver* observer,
- const MediaConstraintsInterface* constraints) {
+ const RTCOfferAnswerOptions& options) {
DCHECK(observer);
created_sessiondescription_.reset(
dependency_factory_->CreateSessionDescription("unknown", kDummyAnswer,
@@ -256,9 +255,7 @@ void MockPeerConnectionImpl::SetRemoteDescriptionWorker(
remote_desc_.reset(desc);
}
-bool MockPeerConnectionImpl::UpdateIce(
- const IceServers& configuration,
- const MediaConstraintsInterface* constraints) {
+bool MockPeerConnectionImpl::UpdateIce(const IceServers& configuration) {
return true;
}
« no previous file with comments | « content/renderer/media/mock_peer_connection_impl.h ('k') | content/renderer/media/peer_connection_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698