summaryrefslogtreecommitdiffstats
path: root/remoting/host/desktop_environment.h
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-04 22:44:11 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-04 22:44:11 +0000
commit0b7e42805341699a240997b202d4d23aed4b458b (patch)
tree44b31edf61ace0f552a113dd56368768d9774598 /remoting/host/desktop_environment.h
parent167d52bbfbfc80f2232474eddfeb8bc587008d71 (diff)
downloadchromium_src-0b7e42805341699a240997b202d4d23aed4b458b.zip
chromium_src-0b7e42805341699a240997b202d4d23aed4b458b.tar.gz
chromium_src-0b7e42805341699a240997b202d4d23aed4b458b.tar.bz2
Clean up remoting project
Cleaned up some file names so it simplifies our project, and gets us more inline with chromium standards. Removed several unnecessary headers that were cluttering the remoting namespace. Simplified some of the double pimpl implementations that we had on Linux to hide X11 stuff. Got HostAuthentication working reasonably well as a mock. BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/6780014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80385 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/desktop_environment.h')
-rw-r--r--remoting/host/desktop_environment.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h
index afb148a..03f3bc8 100644
--- a/remoting/host/desktop_environment.h
+++ b/remoting/host/desktop_environment.h
@@ -10,30 +10,27 @@
namespace remoting {
-namespace protocol {
-class InputStub;
-} // namespace protocol
-
class Capturer;
class Curtain;
+class EventExecutor;
class DesktopEnvironment {
public:
// DesktopEnvironment takes ownership of all the objects passed the ctor.
- DesktopEnvironment(Capturer* capturer, protocol::InputStub* input_stub,
+ DesktopEnvironment(Capturer* capturer, EventExecutor* event_executor,
Curtain* curtain);
virtual ~DesktopEnvironment();
Capturer* capturer() const { return capturer_.get(); }
- protocol::InputStub* input_stub() const { return input_stub_.get(); }
+ EventExecutor* event_executor() const { return event_executor_.get(); }
Curtain* curtain() const { return curtain_.get(); }
private:
// Capturer to be used by ScreenRecorder.
scoped_ptr<Capturer> capturer_;
- // InputStub in the host executes input events received from the client.
- scoped_ptr<protocol::InputStub> input_stub_;
+ // Executes input events received from the client.
+ scoped_ptr<EventExecutor> event_executor_;
// Curtain ensures privacy for the remote user.
scoped_ptr<Curtain> curtain_;