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

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

Issue 10783004: Move Windows Sandbox, trybots version (don't commit me!) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to top of tree Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/win/src/handle_policy_test.cc ('k') | sandbox/win/src/handle_table.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TABLE_H_ 5 #ifndef SANDBOX_SRC_HANDLE_TABLE_H_
6 #define SANDBOX_SRC_HANDLE_TABLE_H_ 6 #define SANDBOX_SRC_HANDLE_TABLE_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "sandbox/src/nt_internals.h" 13 #include "sandbox/win/src/nt_internals.h"
14 14
15 namespace sandbox { 15 namespace sandbox {
16 16
17 // HandleTable retrieves the global handle table and provides helper classes 17 // HandleTable retrieves the global handle table and provides helper classes
18 // for iterating through the table and retrieving handle info. 18 // for iterating through the table and retrieving handle info.
19 class HandleTable { 19 class HandleTable {
20 public: 20 public:
21 static const char16* HandleTable::kTypeProcess; 21 static const char16* HandleTable::kTypeProcess;
22 static const char16* HandleTable::kTypeThread; 22 static const char16* HandleTable::kTypeThread;
23 static const char16* HandleTable::kTypeFile; 23 static const char16* HandleTable::kTypeFile;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 150 }
151 151
152 std::vector<BYTE> handle_info_buffer_; 152 std::vector<BYTE> handle_info_buffer_;
153 153
154 DISALLOW_COPY_AND_ASSIGN(HandleTable); 154 DISALLOW_COPY_AND_ASSIGN(HandleTable);
155 }; 155 };
156 156
157 } // namespace sandbox 157 } // namespace sandbox
158 158
159 #endif // SANDBOX_SRC_HANDLE_TABLE_H_ 159 #endif // SANDBOX_SRC_HANDLE_TABLE_H_
OLDNEW
« no previous file with comments | « sandbox/win/src/handle_policy_test.cc ('k') | sandbox/win/src/handle_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698