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

Unified Diff: base/process_util_linux.cc

Issue 18248: CommandLine API rework (Closed)
Patch Set: fixes Created 11 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process_util.h ('k') | base/test_suite.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_linux.cc
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc
index aa8ba94829b78c3f59a480229d9f7fa8483fe677..d23f78c3dd825f611f2272c14955ce1750be0d08 100644
--- a/base/process_util_linux.cc
+++ b/base/process_util_linux.cc
@@ -76,7 +76,7 @@ bool LaunchApp(const std::vector<std::string>& argv,
if (wait)
waitpid(pid, 0, 0);
- if(process_handle)
+ if (process_handle)
*process_handle = pid;
}
@@ -85,9 +85,9 @@ bool LaunchApp(const std::vector<std::string>& argv,
return retval;
}
-
bool LaunchApp(const CommandLine& cl,
- bool wait, bool start_hidden, ProcessHandle* process_handle) {
+ bool wait, bool start_hidden,
+ ProcessHandle* process_handle) {
file_handle_mapping_vector no_files;
return LaunchApp(cl.argv(), no_files, wait, process_handle);
}
@@ -101,7 +101,8 @@ bool DidProcessCrash(ProcessHandle handle) {
if (WIFSIGNALED(status)) {
int signum = WTERMSIG(status);
- return (signum == SIGSEGV || signum == SIGILL || signum == SIGABRT || signum == SIGFPE);
+ return (signum == SIGSEGV || signum == SIGILL || signum == SIGABRT ||
+ signum == SIGFPE);
}
if (WIFEXITED(status)) {
« no previous file with comments | « base/process_util.h ('k') | base/test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698