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

Side by Side Diff: remoting/host/sas_injector_win.h

Issue 9617027: Chromoting: Implemented security attention sequence (SAS) emulation on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased + a bunch of renamings 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_HOST_SAS_INJECTOR_WIN_H_
Wez 2012/03/08 22:58:55 The guard should really match the class name. Pro
alexeypa (please no reviews) 2012/03/09 01:13:54 Well, this would be pretty ugly. I removed _win fr
6 #define REMOTING_HOST_SAS_INJECTOR_WIN_H_
7
8 #include <windows.h>
9
10 #include "base/memory/scoped_ptr.h"
11
12 namespace remoting {
13
14 // Provides a way to emulate secure attention sequence (SAS). The default
15 // sequence is Ctrl+Alt+Delete.
16 class SasInjector {
17 public:
18 virtual ~SasInjector() {}
19
20 // Sends the secure attention sequence to the console session.
21 virtual bool InjectSas() = 0;
22
23 // Creates an instance of SasInjector if supported by the OS, otherwise
24 // returns NULL.
25 static scoped_ptr<SasInjector> Create();
26 };
27
28 } // namespace remoting
29
30 #endif REMOTING_HOST_SAS_INJECTOR_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698