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

Unified Diff: remoting/protocol/ice_connection_to_host.cc

Issue 2757723002: Update ICE protocol to handle closed channel (Closed)
Patch Set: . Created 3 years, 9 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/protocol/ice_connection_to_client.cc ('k') | remoting/protocol/message_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/ice_connection_to_host.cc
diff --git a/remoting/protocol/ice_connection_to_host.cc b/remoting/protocol/ice_connection_to_host.cc
index 535aa76bb49cf914f840fe70d111b963b4134e1b..4fa7eae06a6648dc1720ef61a5541169340f140e 100644
--- a/remoting/protocol/ice_connection_to_host.cc
+++ b/remoting/protocol/ice_connection_to_host.cc
@@ -175,8 +175,7 @@ void IceConnectionToHost::OnChannelInitialized(
void IceConnectionToHost::OnChannelClosed(
ChannelDispatcherBase* channel_dispatcher) {
- // ICE transport doesn't close channels dynamically.
- NOTREACHED();
+ session_->Close(OK);
}
void IceConnectionToHost::OnVideoChannelStatus(bool active) {
« no previous file with comments | « remoting/protocol/ice_connection_to_client.cc ('k') | remoting/protocol/message_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698