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