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

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

Issue 98603007: Launches a privileged utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually works now. Removes unnecessary logging. Created 7 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
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 6
7 namespace base { 7 namespace base {
8 8
9 LaunchOptions::LaunchOptions() 9 LaunchOptions::LaunchOptions()
10 : wait(false), 10 : wait(false),
11 #if defined(OS_WIN) 11 #if defined(OS_WIN)
12 start_hidden(false), 12 start_hidden(false),
13 inherit_handles(false), 13 inherit_handles(false),
14 as_user(NULL), 14 as_user(NULL),
15 empty_desktop_name(false), 15 empty_desktop_name(false),
16 job_handle(NULL), 16 job_handle(NULL),
17 stdin_handle(NULL), 17 stdin_handle(NULL),
18 stdout_handle(NULL), 18 stdout_handle(NULL),
19 stderr_handle(NULL), 19 stderr_handle(NULL),
20 force_breakaway_from_job_(false) 20 force_breakaway_from_job_(false),
21 run_elevated(false)
21 #else 22 #else
22 fds_to_remap(NULL), 23 fds_to_remap(NULL),
23 maximize_rlimits(NULL), 24 maximize_rlimits(NULL),
24 new_process_group(false) 25 new_process_group(false)
25 #if defined(OS_LINUX) 26 #if defined(OS_LINUX)
26 , clone_flags(0) 27 , clone_flags(0)
27 #endif // OS_LINUX 28 #endif // OS_LINUX
28 #if defined(OS_CHROMEOS) 29 #if defined(OS_CHROMEOS)
29 , ctrl_terminal_fd(-1) 30 , ctrl_terminal_fd(-1)
30 #endif // OS_CHROMEOS 31 #endif // OS_CHROMEOS
31 #endif // !defined(OS_WIN) 32 #endif // !defined(OS_WIN)
32 { 33 {
33 } 34 }
34 35
35 LaunchOptions::~LaunchOptions() { 36 LaunchOptions::~LaunchOptions() {
36 } 37 }
37 38
38 } // namespace base 39 } // namespace base
OLDNEW
« no previous file with comments | « base/process/launch.h ('k') | base/process/launch_win.cc » ('j') | base/process/launch_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698