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

Side by Side Diff: sandbox/linux/tests/unit_tests.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 4 years, 12 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
« no previous file with comments | « sandbox/linux/tests/scoped_temporary_file_unittest.cc ('k') | sandbox/mac/bootstrap_sandbox.h » ('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 #include <fcntl.h> 5 #include <fcntl.h>
6 #include <poll.h> 6 #include <poll.h>
7 #include <signal.h> 7 #include <signal.h>
8 #include <stddef.h>
8 #include <stdio.h> 9 #include <stdio.h>
9 #include <sys/resource.h> 10 #include <sys/resource.h>
11 #include <sys/time.h>
10 #include <sys/types.h> 12 #include <sys/types.h>
11 #include <sys/wait.h> 13 #include <sys/wait.h>
12 #include <sys/time.h>
13 #include <time.h> 14 #include <time.h>
14 #include <unistd.h> 15 #include <unistd.h>
15 16
16 #include "base/debug/leak_annotations.h" 17 #include "base/debug/leak_annotations.h"
17 #include "base/files/file_util.h" 18 #include "base/files/file_util.h"
18 #include "base/posix/eintr_wrapper.h" 19 #include "base/posix/eintr_wrapper.h"
19 #include "base/third_party/valgrind/valgrind.h" 20 #include "base/third_party/valgrind/valgrind.h"
20 #include "build/build_config.h" 21 #include "build/build_config.h"
21 #include "sandbox/linux/tests/unit_tests.h" 22 #include "sandbox/linux/tests/unit_tests.h"
22 23
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 fflush(stderr); 353 fflush(stderr);
353 _exit(kExitWithAssertionFailure); 354 _exit(kExitWithAssertionFailure);
354 } 355 }
355 356
356 void UnitTests::IgnoreThisTest() { 357 void UnitTests::IgnoreThisTest() {
357 fflush(stderr); 358 fflush(stderr);
358 _exit(kIgnoreThisTest); 359 _exit(kIgnoreThisTest);
359 } 360 }
360 361
361 } // namespace 362 } // namespace
OLDNEW
« no previous file with comments | « sandbox/linux/tests/scoped_temporary_file_unittest.cc ('k') | sandbox/mac/bootstrap_sandbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698