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

Unified Diff: remoting/protocol/connection_to_host.h

Issue 10284008: Switch client to Pepper UDP API instead of Transport API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
« no previous file with comments | « remoting/client/plugin/pepper_packet_socket_factory.cc ('k') | remoting/protocol/connection_to_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_host.h
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h
index 45e1f9a51e0a1c645bfddb8fb2df56966b90e255..9deb3b69de0066b8d4c292bbddd33b0803121e53 100644
--- a/remoting/protocol/connection_to_host.h
+++ b/remoting/protocol/connection_to_host.h
@@ -42,6 +42,7 @@ class ClipboardStub;
class HostStub;
class InputStub;
class SessionConfig;
+class TransportFactory;
class VideoReader;
class VideoStub;
@@ -64,7 +65,6 @@ class ConnectionToHost : public SignalStrategy::Listener,
};
ConnectionToHost(base::MessageLoopProxy* message_loop,
- pp::Instance* pp_instance,
bool allow_nat_traversal);
virtual ~ConnectionToHost();
@@ -72,6 +72,7 @@ class ConnectionToHost : public SignalStrategy::Listener,
const std::string& local_jid,
const std::string& host_jid,
const std::string& host_public_key,
+ scoped_ptr<TransportFactory> transport_factory,
scoped_ptr<Authenticator> authenticator,
HostEventCallback* event_callback,
ClientStub* client_stub,
@@ -122,7 +123,6 @@ class ConnectionToHost : public SignalStrategy::Listener,
void SetState(State state, ErrorCode error);
scoped_refptr<base::MessageLoopProxy> message_loop_;
- pp::Instance* pp_instance_;
bool allow_nat_traversal_;
std::string host_jid_;
« no previous file with comments | « remoting/client/plugin/pepper_packet_socket_factory.cc ('k') | remoting/protocol/connection_to_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698