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

Side by Side Diff: base/process/process_unittest.cc

Issue 1543293004: Switch to standard integer types in base/process/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ssize_t 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
« no previous file with comments | « base/process/process_posix.cc ('k') | base/process/process_util_unittest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/process/process.h" 5 #include "base/process/process.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/process/kill.h" 9 #include "base/process/kill.h"
10 #include "base/test/multiprocess_test.h" 10 #include "base/test/multiprocess_test.h"
11 #include "base/test/test_timeouts.h" 11 #include "base/test/test_timeouts.h"
12 #include "base/threading/platform_thread.h" 12 #include "base/threading/platform_thread.h"
13 #include "build/build_config.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 #include "testing/multiprocess_func_list.h" 15 #include "testing/multiprocess_func_list.h"
15 16
16 namespace { 17 namespace {
17 18
18 #if defined(OS_WIN) 19 #if defined(OS_WIN)
19 const int kExpectedStillRunningExitCode = 0x102; 20 const int kExpectedStillRunningExitCode = 0x102;
20 #else 21 #else
21 const int kExpectedStillRunningExitCode = 0; 22 const int kExpectedStillRunningExitCode = 0;
22 #endif 23 #endif
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 "2:freezer:/chrome_renderers/to_be_frozen\n" 216 "2:freezer:/chrome_renderers/to_be_frozen\n"
216 "1:cpu:/chrome_renderers/background\n"; 217 "1:cpu:/chrome_renderers/background\n";
217 218
218 EXPECT_FALSE(IsProcessBackgroundedCGroup(kNotBackgrounded)); 219 EXPECT_FALSE(IsProcessBackgroundedCGroup(kNotBackgrounded));
219 EXPECT_TRUE(IsProcessBackgroundedCGroup(kBackgrounded)); 220 EXPECT_TRUE(IsProcessBackgroundedCGroup(kBackgrounded));
220 } 221 }
221 222
222 #endif // defined(OS_CHROMEOS) 223 #endif // defined(OS_CHROMEOS)
223 224
224 } // namespace base 225 } // namespace base
OLDNEW
« no previous file with comments | « base/process/process_posix.cc ('k') | base/process/process_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698