Quota: Return a pair of usage and granted_quota on requesting quota.
[chromium-blink-merge.git] / remoting / host / sas_injector.h
blob45e2e8388f1902ec0816773631756fdbffb87878
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 NULL.
23 static scoped_ptr<SasInjector> Create();
26 } // namespace remoting
28 #endif REMOTING_HOST_SAS_INJECTOR_H_