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

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

Issue 468253002: Move file_util to base/files/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to add forwarding header to patch Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « base/process/kill_posix.cc ('k') | base/process/memory_linux.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 (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/process/launch.h" 5 #include "base/process/launch.h"
6 6
7 #include <dirent.h> 7 #include <dirent.h>
8 #include <errno.h> 8 #include <errno.h>
9 #include <fcntl.h> 9 #include <fcntl.h>
10 #include <signal.h> 10 #include <signal.h>
11 #include <stdlib.h> 11 #include <stdlib.h>
12 #include <sys/resource.h> 12 #include <sys/resource.h>
13 #include <sys/time.h> 13 #include <sys/time.h>
14 #include <sys/types.h> 14 #include <sys/types.h>
15 #include <sys/wait.h> 15 #include <sys/wait.h>
16 #include <unistd.h> 16 #include <unistd.h>
17 17
18 #include <iterator> 18 #include <iterator>
19 #include <limits> 19 #include <limits>
20 #include <set> 20 #include <set>
21 21
22 #include "base/allocator/type_profiler_control.h" 22 #include "base/allocator/type_profiler_control.h"
23 #include "base/command_line.h" 23 #include "base/command_line.h"
24 #include "base/compiler_specific.h" 24 #include "base/compiler_specific.h"
25 #include "base/debug/debugger.h" 25 #include "base/debug/debugger.h"
26 #include "base/debug/stack_trace.h" 26 #include "base/debug/stack_trace.h"
27 #include "base/file_util.h"
28 #include "base/files/dir_reader_posix.h" 27 #include "base/files/dir_reader_posix.h"
28 #include "base/files/file_util.h"
29 #include "base/files/scoped_file.h" 29 #include "base/files/scoped_file.h"
30 #include "base/logging.h" 30 #include "base/logging.h"
31 #include "base/memory/scoped_ptr.h" 31 #include "base/memory/scoped_ptr.h"
32 #include "base/posix/eintr_wrapper.h" 32 #include "base/posix/eintr_wrapper.h"
33 #include "base/process/kill.h" 33 #include "base/process/kill.h"
34 #include "base/process/process_metrics.h" 34 #include "base/process/process_metrics.h"
35 #include "base/strings/stringprintf.h" 35 #include "base/strings/stringprintf.h"
36 #include "base/synchronization/waitable_event.h" 36 #include "base/synchronization/waitable_event.h"
37 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 37 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
38 #include "base/threading/platform_thread.h" 38 #include "base/threading/platform_thread.h"
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 std::string* output, 655 std::string* output,
656 int* exit_code) { 656 int* exit_code) {
657 // Run |execve()| with the current environment and store "unlimited" data. 657 // Run |execve()| with the current environment and store "unlimited" data.
658 GetAppOutputInternalResult result = GetAppOutputInternal( 658 GetAppOutputInternalResult result = GetAppOutputInternal(
659 cl.argv(), NULL, output, std::numeric_limits<std::size_t>::max(), true, 659 cl.argv(), NULL, output, std::numeric_limits<std::size_t>::max(), true,
660 exit_code); 660 exit_code);
661 return result == EXECUTE_SUCCESS; 661 return result == EXECUTE_SUCCESS;
662 } 662 }
663 663
664 } // namespace base 664 } // namespace base
OLDNEW
« no previous file with comments | « base/process/kill_posix.cc ('k') | base/process/memory_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698