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

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

Issue 10209008: Roll libjingle 132:133 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « content/renderer/media/mock_peer_connection_impl.h ('k') | content/renderer/p2p/ipc_socket_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2b893ba3af407548c3dd36c138e9c5060ee76c6d..f0eb84584dc7e68cdab9a7e37fdd34ef961b1645 100644
--- a/content/renderer/media/mock_peer_connection_impl.cc
+++ b/content/renderer/media/mock_peer_connection_impl.cc
@@ -84,6 +84,13 @@ void MockPeerConnectionImpl::RemoveStream(LocalMediaStreamInterface* stream) {
stream_label_.clear();
}
+bool MockPeerConnectionImpl::RemoveStream(const std::string& label) {
+ if (stream_label_ != label)
+ return false;
+ stream_label_.clear();
+ return true;
+}
+
void MockPeerConnectionImpl::CommitStreamChanges() {
stream_changes_committed_ = true;
}
« no previous file with comments | « content/renderer/media/mock_peer_connection_impl.h ('k') | content/renderer/p2p/ipc_socket_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698