Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / remoting / host / sas_injector.h
bloba77485a0db536f54b15d86a21273de55c64240ff
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.
5 #ifndef REMOTING_HOST_SAS_INJECTOR_H_
6 #define REMOTING_HOST_SAS_INJECTOR_H_
8 #include "base/memory/scoped_ptr.h"
10 namespace remoting {
12 // Provides a way to simulate a Secure Attention Sequence (SAS). The default
13 // sequence is Ctrl+Alt+Delete.
14 class SasInjector {
15 public:
16 virtual ~SasInjector() {}
18 // Sends Secure Attention Sequence to the console session.
19 virtual bool InjectSas() = 0;
21 // Creates an instance of SasInjector if supported by the OS, otherwise
22 // returns nullptr.
23 static scoped_ptr<SasInjector> Create();
26 } // namespace remoting
28 #endif // REMOTING_HOST_SAS_INJECTOR_H_