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

Unified Diff: remoting/protocol/protobuf_video_reader.cc

Issue 7605018: Simplify channel creation callbacks in remoting::Session interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: remoting/protocol/protobuf_video_reader.cc
diff --git a/remoting/protocol/protobuf_video_reader.cc b/remoting/protocol/protobuf_video_reader.cc
index f93f2fb76cb126306aa0198e3236e4fe5670f333..08b1828afa715ab533cf6819434772d7de94e033 100644
--- a/remoting/protocol/protobuf_video_reader.cc
+++ b/remoting/protocol/protobuf_video_reader.cc
@@ -32,9 +32,7 @@ void ProtobufVideoReader::Init(protocol::Session* session,
base::Bind(&ProtobufVideoReader::OnChannelReady, base::Unretained(this)));
}
-void ProtobufVideoReader::OnChannelReady(const std::string& name,
- net::StreamSocket* socket) {
- DCHECK_EQ(name, std::string(kVideoChannelName));
+void ProtobufVideoReader::OnChannelReady(net::StreamSocket* socket) {
if (!socket) {
initialized_callback_.Run(false);
return;

Powered by Google App Engine
This is Rietveld 408576698