1 // Copyright 2012 The Chromium Authors 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 CheckPThreadStackMinIsSafe()9void CheckPThreadStackMinIsSafe() { 10 static_assert(__builtin_constant_p(PTHREAD_STACK_MIN), 11 "Always constant on iOS"); 12 } 13 RaiseProcessToHighPriority()14void RaiseProcessToHighPriority() { 15 // Impossible on iOS. Do nothing. 16 } 17 GetAppOutput(const CommandLine & cl,std::string * output)18bool GetAppOutput(const CommandLine& cl, std::string* output) { 19 return false; 20 } 21 GetAppOutputAndError(const CommandLine & cl,std::string * output)22bool GetAppOutputAndError(const CommandLine& cl, std::string* output) { 23 return false; 24 } 25 LaunchProcess(const CommandLine & cmdline,const LaunchOptions & options)26Process LaunchProcess(const CommandLine& cmdline, 27 const LaunchOptions& options) { 28 return Process(); 29 } 30 31 } // namespace base 32