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

Unified Diff: remoting/protocol/connection_to_host.h

Issue 6623048: Replace libjingle's HttpPortAllocatorSession with Pepper's http client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thread switching Created 9 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/protocol/connection_to_host.h
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h
index 3962c3267bfff73d42b6fb98735964486d929906..1ac90485c716006c8b4c001d59636965e285afef 100644
--- a/remoting/protocol/connection_to_host.h
+++ b/remoting/protocol/connection_to_host.h
@@ -24,6 +24,7 @@ class MessageLoop;
namespace remoting {
class JingleThread;
+class PortAllocatorSessionFactory;
class VideoPacket;
namespace protocol {
@@ -56,7 +57,8 @@ class ConnectionToHost : public JingleClient::Callback {
// TODO(sergeyu): Constructor shouldn't need thread here.
ConnectionToHost(JingleThread* thread,
talk_base::NetworkManager* network_manager,
- talk_base::PacketSocketFactory* socket_factory);
+ talk_base::PacketSocketFactory* socket_factory,
+ PortAllocatorSessionFactory* session_factory);
virtual ~ConnectionToHost();
// TODO(ajwong): We need to generalize this API.
@@ -113,6 +115,7 @@ class ConnectionToHost : public JingleClient::Callback {
scoped_ptr<talk_base::NetworkManager> network_manager_;
scoped_ptr<talk_base::PacketSocketFactory> socket_factory_;
+ scoped_ptr<PortAllocatorSessionFactory> port_allocator_session_factory_;
scoped_ptr<SignalStrategy> signal_strategy_;
scoped_refptr<JingleClient> jingle_client_;

Powered by Google App Engine
This is Rietveld 408576698