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

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

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros 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>
7 #include <string> 8 #include <string>
8 9
9 #include "sandbox/win/tests/validation_tests/commands.h" 10 #include "sandbox/win/tests/validation_tests/commands.h"
10 11
11 #include "sandbox/win/tests/common/controller.h" 12 #include "sandbox/win/tests/common/controller.h"
12 13
13 namespace { 14 namespace {
14 15
15 // Returns the HKEY corresponding to name. If there is no HKEY corresponding 16 // Returns the HKEY corresponding to name. If there is no HKEY corresponding
16 // to the name it returns NULL. 17 // to the name it returns NULL.
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 ::Sleep(5000); 281 ::Sleep(5000);
281 return SBOX_TEST_DENIED; 282 return SBOX_TEST_DENIED;
282 } 283 }
283 284
284 return ::VirtualFree(memory, 0, MEM_RELEASE) ? 285 return ::VirtualFree(memory, 0, MEM_RELEASE) ?
285 SBOX_TEST_SUCCEEDED : SBOX_TEST_FAILED; 286 SBOX_TEST_SUCCEEDED : SBOX_TEST_FAILED;
286 } 287 }
287 288
288 289
289 } // namespace sandbox 290 } // 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