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

Unified Diff: remoting/protocol/ice_connection_to_client.cc

Issue 2334293002: Two minor cleanups in remoting protocol. (Closed)
Patch Set: . Created 4 years, 3 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/ice_connection_to_client.cc
diff --git a/remoting/protocol/ice_connection_to_client.cc b/remoting/protocol/ice_connection_to_client.cc
index 4742f19a38ad2972628016fefe021c8e2a6c873b..0f7d70eb6f239371f58a366b9eba6f4f88898994 100644
--- a/remoting/protocol/ice_connection_to_client.cc
+++ b/remoting/protocol/ice_connection_to_client.cc
@@ -82,11 +82,6 @@ void IceConnectionToClient::Disconnect(ErrorCode error) {
session_->Close(error);
}
-void IceConnectionToClient::OnInputEventReceived(int64_t timestamp) {
- DCHECK(thread_checker_.CalledOnValidThread());
- event_handler_->OnInputEventReceived(this, timestamp);
-}
-
std::unique_ptr<VideoStream> IceConnectionToClient::StartVideoStream(
std::unique_ptr<webrtc::DesktopCapturer> desktop_capturer) {
DCHECK(thread_checker_.CalledOnValidThread());
@@ -209,6 +204,11 @@ void IceConnectionToClient::OnChannelClosed(
NOTREACHED();
}
+void IceConnectionToClient::OnInputEventReceived(int64_t timestamp) {
+ DCHECK(thread_checker_.CalledOnValidThread());
+ event_handler_->OnInputEventReceived(this, timestamp);
+}
+
void IceConnectionToClient::NotifyIfChannelsReady() {
DCHECK(thread_checker_.CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698