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

Unified Diff: remoting/host/sas_injector.h

Issue 9617027: Chromoting: Implemented security attention sequence (SAS) emulation on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 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/remoting_me2me_host.cc ('k') | remoting/host/sas_injector_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/sas_injector.h
diff --git a/remoting/host/sas_injector.h b/remoting/host/sas_injector.h
new file mode 100644
index 0000000000000000000000000000000000000000..2e3baaabca61a3743962aa69984a4e6d3b7357fd
--- /dev/null
+++ b/remoting/host/sas_injector.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_HOST_SAS_INJECTOR_H_
+#define REMOTING_HOST_SAS_INJECTOR_H_
+
+#include "base/memory/scoped_ptr.h"
+
+namespace remoting {
+
+// Provides a way to simulate a Secure Attention Sequence (SAS). The default
+// sequence is Ctrl+Alt+Delete.
+class SasInjector {
+ public:
+ virtual ~SasInjector() {}
+
+ // Sends the Secure Attention Sequence to the console session.
+ virtual bool InjectSas() = 0;
+
+ // Creates an instance of SasInjector if supported by the OS, otherwise
+ // returns NULL.
+ static scoped_ptr<SasInjector> Create();
+};
+
+} // namespace remoting
+
+#endif REMOTING_HOST_SAS_INJECTOR_H_
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/sas_injector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698