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

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

Issue 10383151: Refactor MediaStreamImpl and PeerConnection glue implementation after WebKit changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/peer_connection_handler.cc
diff --git a/content/renderer/media/peer_connection_handler.cc b/content/renderer/media/peer_connection_handler.cc
index 747e95f3166ecc5a8b4c701ff999b2cf540e6b50..a3afc422d66fc66a3dc738cb4768ef132b57c76d 100644
--- a/content/renderer/media/peer_connection_handler.cc
+++ b/content/renderer/media/peer_connection_handler.cc
@@ -20,13 +20,14 @@
PeerConnectionHandler::PeerConnectionHandler(
WebKit::WebPeerConnectionHandlerClient* client,
- MediaStreamImpl* msi,
MediaStreamDependencyFactory* dependency_factory)
- : PeerConnectionHandlerBase(msi, dependency_factory),
+ : PeerConnectionHandlerBase(dependency_factory),
client_(client) {
+ DVLOG(1) << "PeerConnectionHandler::PeerConnectionHandler";
perkj_chrome 2012/05/13 13:39:18 Remove this log
perkj_chrome 2012/05/14 11:50:25 Done.
}
PeerConnectionHandler::~PeerConnectionHandler() {
+ DVLOG(1) << "PeerConnectionHandler::~PeerConnectionHandler";
perkj_chrome 2012/05/13 13:39:18 Remove this log.
perkj_chrome 2012/05/14 11:50:25 Done.
}
void PeerConnectionHandler::initialize(
@@ -74,11 +75,11 @@ void PeerConnectionHandler::sendDataStreamMessage(
}
void PeerConnectionHandler::stop() {
+ DVLOG(1) << "PeerConnectionHandler::stop";
// TODO(ronghuawu): There's an issue with signaling messages being sent during
// close. We need to investigate further. Not calling Close() on native
// PeerConnection is OK for now.
native_peer_connection_ = NULL;
- media_stream_impl_->ClosePeerConnection(this);
}
void PeerConnectionHandler::OnError() {

Powered by Google App Engine
This is Rietveld 408576698