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

Unified Diff: remoting/host/desktop_environment.h

Issue 6780014: Clean up remoting project (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: got rid of ref counting on user authenticator Created 9 years, 9 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/host/curtain_win.cc ('k') | remoting/host/desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_environment.h
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h
index afb148adb616d60585fbd3a269588e06fd9ad92b..03f3bc8f6b150e1af17f1b4b920b1714d6bc3aac 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_;
« no previous file with comments | « remoting/host/curtain_win.cc ('k') | remoting/host/desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698