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 3 // found in the LICENSE file. 4 5 #include "base/process/launch.h" 6 7 namespace base { 8 9 LaunchOptions::LaunchOptions() 10 : wait(false), 11 #if defined(OS_WIN) 12 start_hidden(false), 13 handles_to_inherit(NULL), 14 inherit_handles(false), 15 as_user(NULL), 16 empty_desktop_name(false), 17 job_handle(NULL), 18 stdin_handle(NULL), 19 stdout_handle(NULL), 20 stderr_handle(NULL), 21 force_breakaway_from_job_(false) 22 #else 23 fds_to_remap(NULL), 24 maximize_rlimits(NULL), 25 new_process_group(false) 26 #if defined(OS_LINUX) 27 , clone_flags(0) 28 #endif // OS_LINUX 29 #if defined(OS_CHROMEOS) 30 , ctrl_terminal_fd(-1) 31 #endif // OS_CHROMEOS 32 #endif // !defined(OS_WIN) 33 { 34 } 35 36 LaunchOptions::~LaunchOptions() { 37 } 38 39 } // namespace base 40