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

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: rebased and made it work. 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
« no previous file with comments | « remoting/host/sas_injector_win.cc ('k') | remoting/host/session_event_executor_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8e18675c11280becd35933df7d7fa094da4f96fa..26355e3fc6e774ff52134090867d9b3b462b4a65 100644
--- a/remoting/host/session_event_executor_win.h
+++ b/remoting/host/session_event_executor_win.h
@@ -24,8 +24,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,
@@ -46,9 +47,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.
@@ -61,8 +59,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_;
« no previous file with comments | « remoting/host/sas_injector_win.cc ('k') | remoting/host/session_event_executor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698