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

Side by Side Diff: base/process/launch.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 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 | « base/process/launch.h ('k') | base/process/launch_posix.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "build/build_config.h"
6 7
7 namespace base { 8 namespace base {
8 9
9 LaunchOptions::LaunchOptions() 10 LaunchOptions::LaunchOptions()
10 : wait(false), 11 : wait(false),
11 #if defined(OS_WIN) 12 #if defined(OS_WIN)
12 start_hidden(false), 13 start_hidden(false),
13 handles_to_inherit(NULL), 14 handles_to_inherit(NULL),
14 inherit_handles(false), 15 inherit_handles(false),
15 as_user(NULL), 16 as_user(NULL),
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #if defined(OS_LINUX) 48 #if defined(OS_LINUX)
48 // To prevent accidental privilege sharing to an untrusted child, processes 49 // To prevent accidental privilege sharing to an untrusted child, processes
49 // are started with PR_SET_NO_NEW_PRIVS. Do not set that here, since this 50 // are started with PR_SET_NO_NEW_PRIVS. Do not set that here, since this
50 // new child will be used for testing only. 51 // new child will be used for testing only.
51 options.allow_new_privs = true; 52 options.allow_new_privs = true;
52 #endif 53 #endif
53 return options; 54 return options;
54 } 55 }
55 56
56 } // namespace base 57 } // namespace base
OLDNEW
« no previous file with comments | « base/process/launch.h ('k') | base/process/launch_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698