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

Unified Diff: remoting/host/chromoting_host.h

Issue 1800893002: Enable TURN on the host when using WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 78ae1e40fb6d7af14ec330b216e90efe47d14ab6..062a17d952b66975bd6481148042f582158dd0e5 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -70,7 +70,8 @@ class ChromotingHost : public base::NonThreadSafe,
ChromotingHost(
DesktopEnvironmentFactory* desktop_environment_factory,
scoped_ptr<protocol::SessionManager> session_manager,
- scoped_refptr<protocol::TransportContext> transport_context,
+ scoped_refptr<protocol::TransportContext> ice_transport_context,
+ scoped_refptr<protocol::TransportContext> webrtc_transport_context,
scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner);
~ChromotingHost() override;
@@ -154,7 +155,8 @@ class ChromotingHost : public base::NonThreadSafe,
// Parameters specified when the host was created.
DesktopEnvironmentFactory* desktop_environment_factory_;
scoped_ptr<protocol::SessionManager> session_manager_;
- scoped_refptr<protocol::TransportContext> transport_context_;
+ scoped_refptr<protocol::TransportContext> ice_transport_context_;
+ scoped_refptr<protocol::TransportContext> webrtc_transport_context_;
scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_;
scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698