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

Unified Diff: remoting/jingle_glue/jingle_channel.cc

Issue 3087003: Added HostKeyPair class, signatures for heartbeat messages. (Closed)
Patch Set: - Created 10 years, 5 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 | « remoting/jingle_glue/iq_request.h ('k') | remoting/jingle_glue/jingle_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/jingle_glue/jingle_channel.cc
diff --git a/remoting/jingle_glue/jingle_channel.cc b/remoting/jingle_glue/jingle_channel.cc
index 77fcd1b14a6f28496b1ed4f913fa6783b54cb1fc..0ff634c383f16dec3e011bf94c3016e169a2b9fb 100644
--- a/remoting/jingle_glue/jingle_channel.cc
+++ b/remoting/jingle_glue/jingle_channel.cc
@@ -45,6 +45,7 @@ void JingleChannel::Init(JingleThread* thread,
thread_ = thread;
stream_.reset(stream);
stream_->SignalEvent.connect(&event_handler_, &EventHandler::OnStreamEvent);
+ jid_ = jid;
// Initialize |state_|.
switch (stream->GetState()) {
@@ -63,8 +64,6 @@ void JingleChannel::Init(JingleThread* thread,
default:
NOTREACHED();
}
-
- jid_ = jid;
}
void JingleChannel::Write(scoped_refptr<DataBuffer> data) {
« no previous file with comments | « remoting/jingle_glue/iq_request.h ('k') | remoting/jingle_glue/jingle_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698