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

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

Issue 7292028: Revert 91270 - sbox_unittests HandleTable.FindTable failing on Win XP & Vista (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « no previous file | sandbox/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 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 #include <vector> 10 #include <vector>
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 SYSTEM_HANDLE_INFORMATION_EX* handle_info_internal() { 148 SYSTEM_HANDLE_INFORMATION_EX* handle_info_internal() {
149 return reinterpret_cast<SYSTEM_HANDLE_INFORMATION_EX*>( 149 return reinterpret_cast<SYSTEM_HANDLE_INFORMATION_EX*>(
150 &(handle_info_buffer_[0])); 150 &(handle_info_buffer_[0]));
151 } 151 }
152 152
153 std::vector<BYTE> handle_info_buffer_; 153 std::vector<BYTE> handle_info_buffer_;
154 154
155 DISALLOW_COPY_AND_ASSIGN(HandleTable); 155 DISALLOW_COPY_AND_ASSIGN(HandleTable);
156 }; 156 };
157 157
158 // Returns the object manager's name associated with a handle
159 bool GetHandleName(HANDLE handle, string16* handle_name);
160
161
162 } // namespace sandbox 158 } // namespace sandbox
163 159
164 #endif // SANDBOX_SRC_HANDLE_TABLE_H_ 160 #endif // SANDBOX_SRC_HANDLE_TABLE_H_
OLDNEW
« no previous file with comments | « no previous file | sandbox/src/handle_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698