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

Side by Side Diff: sandbox/win/src/handle_closer.h

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « sandbox/win/src/filesystem_policy.cc ('k') | sandbox/win/src/handle_closer.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 SANDBOX_SRC_HANDLE_CLOSER_H_ 5 #ifndef SANDBOX_SRC_HANDLE_CLOSER_H_
6 #define SANDBOX_SRC_HANDLE_CLOSER_H_ 6 #define SANDBOX_SRC_HANDLE_CLOSER_H_
7 7
8 #include <stddef.h>
9
10 #include <map> 8 #include <map>
11 #include <set> 9 #include <set>
12 10
13 #include "base/macros.h" 11 #include "base/basictypes.h"
14 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
15 #include "sandbox/win/src/interception.h" 13 #include "sandbox/win/src/interception.h"
16 #include "sandbox/win/src/sandbox_types.h" 14 #include "sandbox/win/src/sandbox_types.h"
17 #include "sandbox/win/src/target_process.h" 15 #include "sandbox/win/src/target_process.h"
18 16
19 namespace sandbox { 17 namespace sandbox {
20 18
21 // This is a map of handle-types to names that we need to close in the 19 // This is a map of handle-types to names that we need to close in the
22 // target process. A null set means we need to close all handles of the 20 // target process. A null set means we need to close all handles of the
23 // given type. 21 // given type.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 65
68 DISALLOW_COPY_AND_ASSIGN(HandleCloser); 66 DISALLOW_COPY_AND_ASSIGN(HandleCloser);
69 }; 67 };
70 68
71 // Returns the object manager's name associated with a handle 69 // Returns the object manager's name associated with a handle
72 bool GetHandleName(HANDLE handle, base::string16* handle_name); 70 bool GetHandleName(HANDLE handle, base::string16* handle_name);
73 71
74 } // namespace sandbox 72 } // namespace sandbox
75 73
76 #endif // SANDBOX_SRC_HANDLE_CLOSER_H_ 74 #endif // SANDBOX_SRC_HANDLE_CLOSER_H_
OLDNEW
« no previous file with comments | « sandbox/win/src/filesystem_policy.cc ('k') | sandbox/win/src/handle_closer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698