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

Unified Diff: remoting/protocol/webrtc_connection_to_client.h

Issue 1846893002: Interface with webrtc through encoded frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sergeyu comments Created 4 years, 8 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 13d0ee36c2d988c80e9d60149617e088b5a2c17e..8431ade6457f8734b652efcc2bc5a3ae75ac1602 100644
--- a/remoting/protocol/webrtc_connection_to_client.h
+++ b/remoting/protocol/webrtc_connection_to_client.h
@@ -30,7 +30,8 @@ class WebrtcConnectionToClient : public ConnectionToClient,
public:
WebrtcConnectionToClient(
scoped_ptr<Session> session,
- scoped_refptr<protocol::TransportContext> transport_context);
+ scoped_refptr<protocol::TransportContext> transport_context,
+ scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner);
~WebrtcConnectionToClient() override;
// ConnectionToClient interface.
@@ -68,10 +69,12 @@ class WebrtcConnectionToClient : public ConnectionToClient,
// Event handler for handling events sent from this object.
ConnectionToClient::EventHandler* event_handler_ = nullptr;
- WebrtcTransport transport_;
+ scoped_ptr<WebrtcTransport> transport_;
Sergey Ulanov 2016/04/07 21:05:39 What's the reason you need this change? transport_
scoped_ptr<Session> session_;
+ scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_;
+
scoped_ptr<HostControlDispatcher> control_dispatcher_;
scoped_ptr<HostEventDispatcher> event_dispatcher_;

Powered by Google App Engine
This is Rietveld 408576698