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

Unified Diff: remoting/protocol/connection_to_host.cc

Issue 384523003: Cleanups in ChromotingClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/protocol/connection_to_host.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_host.cc
diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc
index fdbd0f2c6515c94bcedefd401a80d62aa4c1156b..1e6940a12e7e8ef37f80a3cef3957b05c166d7b6 100644
--- a/remoting/protocol/connection_to_host.cc
+++ b/remoting/protocol/connection_to_host.cc
@@ -26,10 +26,8 @@
namespace remoting {
namespace protocol {
-ConnectionToHost::ConnectionToHost(
- bool allow_nat_traversal)
- : allow_nat_traversal_(allow_nat_traversal),
- event_callback_(NULL),
+ConnectionToHost::ConnectionToHost()
+ : event_callback_(NULL),
client_stub_(NULL),
clipboard_stub_(NULL),
audio_stub_(NULL),
@@ -55,7 +53,6 @@ void ConnectionToHost::Connect(SignalStrategy* signal_strategy,
scoped_ptr<TransportFactory> transport_factory,
scoped_ptr<Authenticator> authenticator,
const std::string& host_jid,
- const std::string& host_public_key,
HostEventCallback* event_callback) {
DCHECK(client_stub_);
DCHECK(clipboard_stub_);
@@ -68,7 +65,6 @@ void ConnectionToHost::Connect(SignalStrategy* signal_strategy,
// Save jid of the host. The actual connection is created later after
// |signal_strategy_| is connected.
host_jid_ = host_jid;
- host_public_key_ = host_public_key;
signal_strategy_->AddListener(this);
signal_strategy_->Connect();
« no previous file with comments | « remoting/protocol/connection_to_host.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698