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: base/test/multiprocess_test.cc

Issue 1544113002: Switch to standard integer types in base/test/. (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
« no previous file with comments | « base/test/multiprocess_test.h ('k') | base/test/null_task_runner.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 "base/test/multiprocess_test.h" 5 #include "base/test/multiprocess_test.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "build/build_config.h"
11 12
12 namespace base { 13 namespace base {
13 14
14 #if !defined(OS_ANDROID) 15 #if !defined(OS_ANDROID)
15 Process SpawnMultiProcessTestChild( 16 Process SpawnMultiProcessTestChild(
16 const std::string& procname, 17 const std::string& procname,
17 const CommandLine& base_command_line, 18 const CommandLine& base_command_line,
18 const LaunchOptions& options) { 19 const LaunchOptions& options) {
19 CommandLine command_line(base_command_line); 20 CommandLine command_line(base_command_line);
20 // TODO(viettrungluu): See comment above |MakeCmdLine()| in the header file. 21 // TODO(viettrungluu): See comment above |MakeCmdLine()| in the header file.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 return SpawnMultiProcessTestChild(procname, MakeCmdLine(procname), options); 53 return SpawnMultiProcessTestChild(procname, MakeCmdLine(procname), options);
53 } 54 }
54 55
55 CommandLine MultiProcessTest::MakeCmdLine(const std::string& procname) { 56 CommandLine MultiProcessTest::MakeCmdLine(const std::string& procname) {
56 CommandLine command_line = GetMultiProcessTestChildBaseCommandLine(); 57 CommandLine command_line = GetMultiProcessTestChildBaseCommandLine();
57 command_line.AppendSwitchASCII(switches::kTestChildProcess, procname); 58 command_line.AppendSwitchASCII(switches::kTestChildProcess, procname);
58 return command_line; 59 return command_line;
59 } 60 }
60 61
61 } // namespace base 62 } // namespace base
OLDNEW
« no previous file with comments | « base/test/multiprocess_test.h ('k') | base/test/null_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698