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

Unified Diff: remoting/protocol/webrtc_connection_to_host.cc

Issue 1662673002: Add MessageChanneFactory interface and use it in ChannelDispatcherBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@framing
Patch Set: Created 4 years, 11 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/webrtc_connection_to_host.h ('k') | remoting/protocol/webrtc_transport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_connection_to_host.cc
diff --git a/remoting/protocol/webrtc_connection_to_host.cc b/remoting/protocol/webrtc_connection_to_host.cc
index 351bb8d3535b06540e519069fc2ae0a818280a47..bfa103ea5f2ff0241b84fe26db0f946d40f81ac6 100644
--- a/remoting/protocol/webrtc_connection_to_host.cc
+++ b/remoting/protocol/webrtc_connection_to_host.cc
@@ -139,14 +139,6 @@ void WebrtcConnectionToHost::OnChannelInitialized(
NotifyIfChannelsReady();
}
-void WebrtcConnectionToHost::OnChannelError(
- ChannelDispatcherBase* channel_dispatcher,
- ErrorCode error) {
- LOG(ERROR) << "Failed to connect channel " << channel_dispatcher;
- CloseChannels();
- SetState(FAILED, CHANNEL_CONNECTION_ERROR);
-}
-
ConnectionToHost::State WebrtcConnectionToHost::state() const {
return state_;
}
« no previous file with comments | « remoting/protocol/webrtc_connection_to_host.h ('k') | remoting/protocol/webrtc_transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698