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

Unified Diff: remoting/protocol/webrtc_connection_to_client.h

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/webrtc_connection_to_client.h
diff --git a/remoting/protocol/webrtc_connection_to_client.h b/remoting/protocol/webrtc_connection_to_client.h
index 30a808d267e34339a5029b81e4da6f1461ed5d50..2e16b55e65a439566358e54c35ad5f4044cf6acb 100644
--- a/remoting/protocol/webrtc_connection_to_client.h
+++ b/remoting/protocol/webrtc_connection_to_client.h
@@ -40,7 +40,6 @@ class WebrtcConnectionToClient : public ConnectionToClient,
ConnectionToClient::EventHandler* event_handler) override;
Session* session() override;
void Disconnect(ErrorCode error) override;
- void OnInputEventReceived(int64_t timestamp) override;
std::unique_ptr<VideoStream> StartVideoStream(
std::unique_ptr<webrtc::DesktopCapturer> desktop_capturer) override;
std::unique_ptr<AudioStream> StartAudioStream(
@@ -70,6 +69,9 @@ class WebrtcConnectionToClient : public ConnectionToClient,
void OnChannelClosed(ChannelDispatcherBase* channel_dispatcher) override;
private:
+ // Callback for the event dispatcher.
+ void OnInputEventReceived(int64_t timestamp);
+
base::ThreadChecker thread_checker_;
// Event handler for handling events sent from this object.

Powered by Google App Engine
This is Rietveld 408576698