Index: remoting/client/jni/chromoting_jni_instance.h |
diff --git a/remoting/client/jni/chromoting_jni_instance.h b/remoting/client/jni/chromoting_jni_instance.h |
index 65ffee72a4ea9c14e861bff17797e16c4f8f112e..f7067f09f1453d7634da2ae9838de8f8bb9cd370 100644 |
--- a/remoting/client/jni/chromoting_jni_instance.h |
+++ b/remoting/client/jni/chromoting_jni_instance.h |
@@ -12,14 +12,12 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/message_loop/message_loop.h" |
#include "remoting/client/chromoting_client.h" |
-#include "remoting/client/client_config.h" |
#include "remoting/client/client_context.h" |
#include "remoting/client/client_user_interface.h" |
#include "remoting/client/frame_consumer_proxy.h" |
#include "remoting/client/jni/jni_frame_consumer.h" |
#include "remoting/jingle_glue/xmpp_signal_strategy.h" |
#include "remoting/protocol/clipboard_stub.h" |
-#include "remoting/protocol/connection_to_host.h" |
#include "remoting/protocol/cursor_shape_stub.h" |
namespace remoting { |
@@ -106,8 +104,6 @@ class ChromotingJniInstance |
const protocol::ExtensionMessage& message) OVERRIDE; |
virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE; |
virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE; |
- virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> |
- GetTokenFetcher(const std::string& host_public_key) OVERRIDE; |
// CursorShapeStub implementation. |
virtual void InjectClipboardEvent( |
@@ -149,6 +145,7 @@ class ChromotingJniInstance |
// ID of the host we are connecting to. |
std::string host_id_; |
+ std::string host_jid_; |
// This group of variables is to be used on the display thread. |
scoped_refptr<FrameConsumerProxy> frame_consumer_; |
@@ -156,10 +153,9 @@ class ChromotingJniInstance |
scoped_ptr<base::WeakPtrFactory<JniFrameConsumer> > view_weak_factory_; |
// This group of variables is to be used on the network thread. |
- ClientConfig client_config_; |
scoped_ptr<ClientContext> client_context_; |
scoped_ptr<VideoRenderer> video_renderer_; |
- scoped_ptr<protocol::ConnectionToHost> connection_; |
+ scoped_ptr<protocol::Authenticator> authenticator_; |
scoped_ptr<ChromotingClient> client_; |
XmppSignalStrategy::XmppServerConfig xmpp_config_; |
scoped_ptr<XmppSignalStrategy> signaling_; // Must outlive client_ |