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

Unified Diff: remoting/host/session_event_executor_win.h

Issue 10836224: [Chromoting] Call SendSAS() directly from the host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SensSAS() is called from an app now. Created 8 years, 4 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/host/session_event_executor_win.h
diff --git a/remoting/host/session_event_executor_win.h b/remoting/host/session_event_executor_win.h
index 15c2cb91f61c510c9d4f031a6dea9dfc03c8acdb..5760ed6016890cff8fe07b62f73948bec4cf5022 100644
--- a/remoting/host/session_event_executor_win.h
+++ b/remoting/host/session_event_executor_win.h
@@ -25,8 +25,9 @@ class ChannelProxy;
namespace remoting {
-class SessionEventExecutorWin : public EventExecutor,
- public IPC::Listener {
+class SasInjector;
+
+class SessionEventExecutorWin : public EventExecutor {
public:
SessionEventExecutorWin(
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
@@ -45,9 +46,6 @@ class SessionEventExecutorWin : public EventExecutor,
virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE;
virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
- // IPC::Listener implementation.
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
-
private:
// Switches to the desktop receiving a user input if different from
// the current one.
@@ -60,8 +58,7 @@ class SessionEventExecutorWin : public EventExecutor,
ScopedThreadDesktop desktop_;
- // The Chromoting IPC channel connecting the host with the service.
- scoped_ptr<IPC::ChannelProxy> chromoting_channel_;
+ scoped_ptr<SasInjector> sas_injector_;
// Keys currently pressed by the client, used to detect Ctrl-Alt-Del.
std::set<uint32> pressed_keys_;

Powered by Google App Engine
This is Rietveld 408576698