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

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

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « remoting/host/resizing_host_observer_unittest.cc ('k') | remoting/host/sas_injector_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_SAS_INJECTOR_H_ 5 #ifndef REMOTING_HOST_SAS_INJECTOR_H_
6 #define REMOTING_HOST_SAS_INJECTOR_H_ 6 #define REMOTING_HOST_SAS_INJECTOR_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 // Provides a way to simulate a Secure Attention Sequence (SAS). The default 12 // Provides a way to simulate a Secure Attention Sequence (SAS). The default
13 // sequence is Ctrl+Alt+Delete. 13 // sequence is Ctrl+Alt+Delete.
14 class SasInjector { 14 class SasInjector {
15 public: 15 public:
16 virtual ~SasInjector() {} 16 virtual ~SasInjector() {}
17 17
18 // Sends Secure Attention Sequence to the console session. 18 // Sends Secure Attention Sequence to the console session.
19 virtual bool InjectSas() = 0; 19 virtual bool InjectSas() = 0;
20 20
21 // Creates an instance of SasInjector if supported by the OS, otherwise 21 // Creates an instance of SasInjector if supported by the OS, otherwise
22 // returns NULL. 22 // returns nullptr.
23 static scoped_ptr<SasInjector> Create(); 23 static scoped_ptr<SasInjector> Create();
24 }; 24 };
25 25
26 } // namespace remoting 26 } // namespace remoting
27 27
28 #endif // REMOTING_HOST_SAS_INJECTOR_H_ 28 #endif // REMOTING_HOST_SAS_INJECTOR_H_
OLDNEW
« no previous file with comments | « remoting/host/resizing_host_observer_unittest.cc ('k') | remoting/host/sas_injector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698