OLD | NEW |
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_BASE_SCOPED_SC_HANDLE_WIN_H_ | 5 #ifndef REMOTING_BASE_SCOPED_SC_HANDLE_WIN_H_ |
6 #define REMOTING_BASE_SCOPED_SC_HANDLE_WIN_H_ | 6 #define REMOTING_BASE_SCOPED_SC_HANDLE_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "base/win/scoped_handle.h" | 10 #include "base/win/scoped_handle.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 // Returns NULL handle value. | 28 // Returns NULL handle value. |
29 static SC_HANDLE NullHandle() { | 29 static SC_HANDLE NullHandle() { |
30 return NULL; | 30 return NULL; |
31 } | 31 } |
32 | 32 |
33 private: | 33 private: |
34 DISALLOW_IMPLICIT_CONSTRUCTORS(ScHandleTraits); | 34 DISALLOW_IMPLICIT_CONSTRUCTORS(ScHandleTraits); |
35 }; | 35 }; |
36 | 36 |
37 typedef base::win::GenericScopedHandle<ScHandleTraits> ScopedScHandle; | 37 typedef base::win::GenericScopedHandle< |
| 38 ScHandleTraits, base::win::DummyVerifierTraits> ScopedScHandle; |
38 | 39 |
39 } // namespace remoting | 40 } // namespace remoting |
40 | 41 |
41 #endif // REMOTING_BASE_SCOPED_SC_HANDLE_WIN_H_ | 42 #endif // REMOTING_BASE_SCOPED_SC_HANDLE_WIN_H_ |
OLD | NEW |