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

Unified Diff: remoting/client/plugin/chromoting_plugin.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/plugin/chromoting_plugin.h
===================================================================
--- remoting/client/plugin/chromoting_plugin.h (revision 52921)
+++ remoting/client/plugin/chromoting_plugin.h (working copy)
@@ -34,7 +34,9 @@
namespace remoting {
class ChromotingClient;
+class ClientContext;
class HostConnection;
+class InputHandler;
class JingleThread;
class PepperView;
@@ -56,11 +58,6 @@
FRIEND_TEST(ChromotingPluginTest, ParseUrl);
FRIEND_TEST(ChromotingPluginTest, TestCaseSetup);
- static bool ParseUrl(const std::string& url,
- std::string* user_id,
- std::string* auth_token,
- std::string* host_jid);
-
// Since we're an internal plugin, we can just grab the message loop during
// init to figure out which thread we're on. This should only be used to
// sanity check which thread we're executing on. Do not post task here!
@@ -69,11 +66,14 @@
// TODO(ajwong): Think if there is a better way to safeguard this.
MessageLoop* pepper_main_loop_dont_post_to_me_;
- scoped_ptr<base::Thread> main_thread_;
- scoped_ptr<JingleThread> network_thread_;
+ scoped_ptr<ClientContext> context_;
scoped_ptr<HostConnection> host_connection_;
+
scoped_ptr<PepperView> view_;
+
+ scoped_ptr<InputHandler> input_handler_;
+
scoped_ptr<ChromotingClient> client_;
DISALLOW_COPY_AND_ASSIGN(ChromotingPlugin);

Powered by Google App Engine
This is Rietveld 408576698