OLD | NEW |
---|---|
(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_SENDER_WIN_H_ | |
6 #define REMOTING_HOST_SAS_SENDER_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. | |
Wez
2012/03/07 01:56:13
nit: What does it mean for the default sequence to
alexeypa (please no reviews)
2012/03/07 19:59:08
It implies that there are other SASs such as inser
Wez
2012/03/08 00:01:33
I'm not sure what you mean - regardless of whether
alexeypa (please no reviews)
2012/03/08 01:52:54
The latter.
| |
16 class SasSender { | |
Wez
2012/03/07 01:56:13
nit: For other input we have EventInjector, so per
alexeypa (please no reviews)
2012/03/07 19:59:08
Done.
| |
17 public: | |
18 virtual ~SasSender() {} | |
19 | |
20 // Sends the secure attention sequence to the console session. | |
21 virtual bool Send() = 0; | |
Wez
2012/03/07 01:56:13
nit: Send -> SendSAS / InjectSAS?
alexeypa (please no reviews)
2012/03/07 19:59:08
InjectSAS
| |
22 | |
23 static scoped_ptr<SasSender> Create(); | |
Wez
2012/03/07 01:56:13
nit: Clarify that Create can return NULL if SendSA
alexeypa (please no reviews)
2012/03/07 19:59:08
Done.
| |
24 }; | |
25 | |
26 } // namespace remoting | |
27 | |
28 #endif REMOTING_HOST_SAS_SENDER_WIN_H_ | |
OLD | NEW |