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

Unified Diff: remoting/protocol/protobuf_video_writer.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_writer.cc
diff --git a/remoting/protocol/protobuf_video_writer.cc b/remoting/protocol/protobuf_video_writer.cc
index 2d37f6577edb21ef7b256319c4a7bc5cdcc72d51..0b1705a1836b337592cb2ce71282c9238f775fa6 100644
--- a/remoting/protocol/protobuf_video_writer.cc
+++ b/remoting/protocol/protobuf_video_writer.cc
@@ -29,9 +29,7 @@ void ProtobufVideoWriter::Init(protocol::Session* session,
base::Bind(&ProtobufVideoWriter::OnChannelReady, base::Unretained(this)));
}
-void ProtobufVideoWriter::OnChannelReady(const std::string& name,
- net::StreamSocket* socket) {
- DCHECK_EQ(name, std::string(kVideoChannelName));
+void ProtobufVideoWriter::OnChannelReady(net::StreamSocket* socket) {
if (!socket) {
initialized_callback_.Run(false);
return;

Powered by Google App Engine
This is Rietveld 408576698