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

Unified Diff: remoting/host/win/session_desktop_environment_factory.h

Issue 11369024: Calling SendSAS() from a service yo make sure that Secure Attention Sequence can be injected even w… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 8 years, 1 month 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/win/session_desktop_environment_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/session_desktop_environment_factory.h
diff --git a/remoting/host/win/session_desktop_environment_factory.h b/remoting/host/win/session_desktop_environment_factory.h
index 27ff81c0bf2684c5cece6ef36c51a594b427751a..a5b6d6e66e279f50ed1e1e9f0afe2c47290dd382 100644
--- a/remoting/host/win/session_desktop_environment_factory.h
+++ b/remoting/host/win/session_desktop_environment_factory.h
@@ -5,6 +5,7 @@
#ifndef REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_
#define REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_FACTORY_H_
+#include "base/callback.h"
#include "remoting/host/desktop_environment_factory.h"
namespace remoting {
@@ -15,12 +16,16 @@ class SessionDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
public:
SessionDesktopEnvironmentFactory(
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
+ scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
+ const base::Closure& inject_sas);
virtual ~SessionDesktopEnvironmentFactory();
virtual scoped_ptr<DesktopEnvironment> Create(ClientSession* client) OVERRIDE;
private:
+ // Used to ask the daemon to inject Secure Attention Sequence.
+ base::Closure inject_sas_;
+
DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory);
};
« no previous file with comments | « remoting/host/sas_injector_win.cc ('k') | remoting/host/win/session_desktop_environment_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698