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

Unified Diff: remoting/protocol/webrtc_connection_to_client.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_client.h ('k') | remoting/protocol/webrtc_connection_to_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_connection_to_client.cc
diff --git a/remoting/protocol/webrtc_connection_to_client.cc b/remoting/protocol/webrtc_connection_to_client.cc
index e84513723983d6cd8a1689aa2f049dfeaae7cb03..3173dcfab42861df2698e023a8ef502d84034b6d 100644
--- a/remoting/protocol/webrtc_connection_to_client.cc
+++ b/remoting/protocol/webrtc_connection_to_client.cc
@@ -174,15 +174,5 @@ void WebrtcConnectionToClient::OnChannelInitialized(
}
}
-void WebrtcConnectionToClient::OnChannelError(
- ChannelDispatcherBase* channel_dispatcher,
- ErrorCode error) {
- DCHECK(thread_checker_.CalledOnValidThread());
-
- LOG(ERROR) << "Failed to connect channel "
- << channel_dispatcher->channel_name();
- Disconnect(error);
-}
-
} // namespace protocol
} // namespace remoting
« no previous file with comments | « remoting/protocol/webrtc_connection_to_client.h ('k') | remoting/protocol/webrtc_connection_to_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698