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

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

Issue 10703095: New PeerConnection handler in Chrome to support latest PeerConnection draft (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added unit test and mock. Removed old bad mock. Created 8 years, 4 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 1de2942e684d5cef7bb0b5c9fdb2582eb7e403ee..85f894172f0f641682bc284506640fd555c919a5 100644
--- a/content/renderer/media/mock_peer_connection_impl.h
+++ b/content/renderer/media/mock_peer_connection_impl.h
@@ -70,6 +70,7 @@ class MockPeerConnectionImpl : public PeerConnectionInterface {
void AddRemoteStream(MediaStreamInterface* stream);
void SetReadyState(ReadyState state) { ready_state_ = state; }
+ void SetIceState(IceState state) { ice_state_ = state; }
const std::string& stream_label() const { return stream_label_; }
bool hint_audio() const { return hint_audio_; }
@@ -104,6 +105,7 @@ class MockPeerConnectionImpl : public PeerConnectionInterface {
int sdp_mline_index_;
std::string ice_sdp_;
ReadyState ready_state_;
+ IceState ice_state_;
DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl);
};

Powered by Google App Engine
This is Rietveld 408576698