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

Unified Diff: remoting/client/host_connection.h

Issue 2861047: Refactor the client code. Move all x11-related code into X11View and create... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
Index: remoting/client/host_connection.h
===================================================================
--- remoting/client/host_connection.h (revision 52921)
+++ remoting/client/host_connection.h (working copy)
@@ -11,6 +11,8 @@
namespace remoting {
+class ClientConfig;
+
class HostConnection {
public:
class HostEventCallback {
@@ -37,9 +39,7 @@
virtual ~HostConnection() {}
// TODO(ajwong): We need to generalize this API.
- virtual void Connect(const std::string& username,
- const std::string& auth_token,
- const std::string& host_jid,
+ virtual void Connect(ClientConfig* config,
HostEventCallback* event_callback) = 0;
virtual void Disconnect() = 0;

Powered by Google App Engine
This is Rietveld 408576698