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

Side by Side Diff: remoting/base/scoped_sc_handle_win.h

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years 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/base/running_average_unittest.cc ('k') | remoting/base/service_urls.h » ('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_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/macros.h"
10 #include "base/win/scoped_handle.h" 11 #include "base/win/scoped_handle.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 14
14 class ScHandleTraits { 15 class ScHandleTraits {
15 public: 16 public:
16 typedef SC_HANDLE Handle; 17 typedef SC_HANDLE Handle;
17 18
18 // Closes the handle. 19 // Closes the handle.
19 static bool CloseHandle(SC_HANDLE handle) { 20 static bool CloseHandle(SC_HANDLE handle) {
(...skipping 13 matching lines...) Expand all
33 private: 34 private:
34 DISALLOW_IMPLICIT_CONSTRUCTORS(ScHandleTraits); 35 DISALLOW_IMPLICIT_CONSTRUCTORS(ScHandleTraits);
35 }; 36 };
36 37
37 typedef base::win::GenericScopedHandle< 38 typedef base::win::GenericScopedHandle<
38 ScHandleTraits, base::win::DummyVerifierTraits> ScopedScHandle; 39 ScHandleTraits, base::win::DummyVerifierTraits> ScopedScHandle;
39 40
40 } // namespace remoting 41 } // namespace remoting
41 42
42 #endif // REMOTING_BASE_SCOPED_SC_HANDLE_WIN_H_ 43 #endif // REMOTING_BASE_SCOPED_SC_HANDLE_WIN_H_
OLDNEW
« no previous file with comments | « remoting/base/running_average_unittest.cc ('k') | remoting/base/service_urls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698