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

Side by Side Diff: components/nacl/zygote/nacl_fork_delegate_linux.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 | « components/nacl/zygote/nacl_fork_delegate_linux.h ('k') | no next file » | 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 "components/nacl/zygote/nacl_fork_delegate_linux.h" 5 #include "components/nacl/zygote/nacl_fork_delegate_linux.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <stddef.h>
8 #include <stdlib.h> 9 #include <stdlib.h>
9 #include <sys/resource.h> 10 #include <sys/resource.h>
10 #include <sys/socket.h> 11 #include <sys/socket.h>
11 12
12 #include <set> 13 #include <set>
13 14
14 #include "base/basictypes.h"
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/cpu.h" 16 #include "base/cpu.h"
17 #include "base/files/file_path.h" 17 #include "base/files/file_path.h"
18 #include "base/files/scoped_file.h" 18 #include "base/files/scoped_file.h"
19 #include "base/logging.h" 19 #include "base/logging.h"
20 #include "base/macros.h"
20 #include "base/memory/scoped_ptr.h" 21 #include "base/memory/scoped_ptr.h"
21 #include "base/memory/scoped_vector.h" 22 #include "base/memory/scoped_vector.h"
22 #include "base/path_service.h" 23 #include "base/path_service.h"
23 #include "base/pickle.h" 24 #include "base/pickle.h"
24 #include "base/posix/eintr_wrapper.h" 25 #include "base/posix/eintr_wrapper.h"
25 #include "base/posix/global_descriptors.h" 26 #include "base/posix/global_descriptors.h"
26 #include "base/posix/unix_domain_socket_linux.h" 27 #include "base/posix/unix_domain_socket_linux.h"
27 #include "base/process/kill.h" 28 #include "base/process/kill.h"
28 #include "base/process/launch.h" 29 #include "base/process/launch.h"
29 #include "base/strings/string_split.h" 30 #include "base/strings/string_split.h"
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 pass_through_vars.push_back(kNaClVerbosity); 457 pass_through_vars.push_back(kNaClVerbosity);
457 pass_through_vars.push_back(sandbox::kSandboxEnvironmentApiRequest); 458 pass_through_vars.push_back(sandbox::kSandboxEnvironmentApiRequest);
458 for (size_t i = 0; i < pass_through_vars.size(); ++i) { 459 for (size_t i = 0; i < pass_through_vars.size(); ++i) {
459 std::string temp; 460 std::string temp;
460 if (env->GetVar(pass_through_vars[i].c_str(), &temp)) 461 if (env->GetVar(pass_through_vars[i].c_str(), &temp))
461 options->environ[pass_through_vars[i]] = temp; 462 options->environ[pass_through_vars[i]] = temp;
462 } 463 }
463 } 464 }
464 465
465 } // namespace nacl 466 } // namespace nacl
OLDNEW
« no previous file with comments | « components/nacl/zygote/nacl_fork_delegate_linux.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698