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

Unified Diff: content/renderer/media/mock_peer_connection_impl.h

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.h
diff --git a/content/renderer/media/mock_peer_connection_impl.h b/content/renderer/media/mock_peer_connection_impl.h
index a0b51398aff10e53d2784cc315664475586532dc..4b81d5e42cba1cefc2161011366d90c25015bb6b 100644
--- a/content/renderer/media/mock_peer_connection_impl.h
+++ b/content/renderer/media/mock_peer_connection_impl.h
@@ -69,12 +69,10 @@ class MockPeerConnectionImpl : public webrtc::PeerConnectionInterface {
const override;
// JSEP01 APIs
- void CreateOffer(
- webrtc::CreateSessionDescriptionObserver* observer,
- const webrtc::MediaConstraintsInterface* constraints) override;
- void CreateAnswer(
- webrtc::CreateSessionDescriptionObserver* observer,
- const webrtc::MediaConstraintsInterface* constraints) override;
+ void CreateOffer(webrtc::CreateSessionDescriptionObserver* observer,
+ const RTCOfferAnswerOptions& options) override;
+ void CreateAnswer(webrtc::CreateSessionDescriptionObserver* observer,
+ const RTCOfferAnswerOptions& options) override;
MOCK_METHOD2(SetLocalDescription,
void(webrtc::SetSessionDescriptionObserver* observer,
webrtc::SessionDescriptionInterface* desc));
@@ -87,8 +85,7 @@ class MockPeerConnectionImpl : public webrtc::PeerConnectionInterface {
void SetRemoteDescriptionWorker(
webrtc::SetSessionDescriptionObserver* observer,
webrtc::SessionDescriptionInterface* desc);
- bool UpdateIce(const IceServers& configuration,
- const webrtc::MediaConstraintsInterface* constraints) override;
+ bool UpdateIce(const IceServers& configuration) override;
bool AddIceCandidate(const webrtc::IceCandidateInterface* candidate) override;
void RegisterUMAObserver(webrtc::UMAObserver* observer) override;
« no previous file with comments | « content/renderer/media/mock_media_constraint_factory.cc ('k') | content/renderer/media/mock_peer_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698