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

Unified Diff: remoting/ios/bridge/client_instance.h

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/client/plugin/chromoting_instance.cc ('k') | remoting/ios/bridge/client_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/bridge/client_instance.h
diff --git a/remoting/ios/bridge/client_instance.h b/remoting/ios/bridge/client_instance.h
index 18f1cefaece04f86846e7f53fa65eb97196de619..4c631e3240fea393336eb4f954756e4ab442e630 100644
--- a/remoting/ios/bridge/client_instance.h
+++ b/remoting/ios/bridge/client_instance.h
@@ -14,7 +14,6 @@
#include "net/url_request/url_request_context_getter.h"
#include "remoting/base/auto_thread.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"
@@ -25,7 +24,6 @@
#include "remoting/jingle_glue/network_settings.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 {
@@ -94,8 +92,6 @@ class ClientInstance : public ClientUserInterface,
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(const protocol::ClipboardEvent& event)
@@ -119,15 +115,15 @@ class ClientInstance : public ClientUserInterface,
// 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_ptr<SoftwareVideoRenderer> video_renderer_;
scoped_ptr<FrameConsumerBridge> view_;
// This group of variables is to be used on the network thread.
- ClientConfig client_config_;
scoped_ptr<ClientContext> client_context_;
- 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_
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/ios/bridge/client_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698