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

Side by Side Diff: sandbox/win/tests/validation_tests/commands.cc

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
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 #include <Aclapi.h> 5 #include <Aclapi.h>
6 #include <windows.h> 6 #include <windows.h>
7 #include <stddef.h>
8 #include <string> 7 #include <string>
9 8
10 #include "sandbox/win/tests/validation_tests/commands.h" 9 #include "sandbox/win/tests/validation_tests/commands.h"
11 10
12 #include "sandbox/win/tests/common/controller.h" 11 #include "sandbox/win/tests/common/controller.h"
13 12
14 namespace { 13 namespace {
15 14
16 // Returns the HKEY corresponding to name. If there is no HKEY corresponding 15 // Returns the HKEY corresponding to name. If there is no HKEY corresponding
17 // to the name it returns NULL. 16 // to the name it returns NULL.
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 ::Sleep(5000); 280 ::Sleep(5000);
282 return SBOX_TEST_DENIED; 281 return SBOX_TEST_DENIED;
283 } 282 }
284 283
285 return ::VirtualFree(memory, 0, MEM_RELEASE) ? 284 return ::VirtualFree(memory, 0, MEM_RELEASE) ?
286 SBOX_TEST_SUCCEEDED : SBOX_TEST_FAILED; 285 SBOX_TEST_SUCCEEDED : SBOX_TEST_FAILED;
287 } 286 }
288 287
289 288
290 } // namespace sandbox 289 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/win/tests/integration_tests/integration_tests_test.cc ('k') | sandbox/win/tests/validation_tests/suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698