Thanks to visit codestin.com
Credit goes to chromium.googlesource.com

blob: 43910f8183fe57f3915a7e14de4deed6d9446a23 [file] [log] [blame]
Avi Drissmane4622aa2022-09-08 20:36:061// Copyright 2012 The Chromium Authors
[email protected]300c3862013-07-17 18:12:402// 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
7namespace base {
8
Dave Tapuska4e37b7712024-10-04 20:09:519void CheckPThreadStackMinIsSafe() {
10 static_assert(__builtin_constant_p(PTHREAD_STACK_MIN),
11 "Always constant on iOS");
12}
13
[email protected]300c3862013-07-17 18:12:4014void RaiseProcessToHighPriority() {
15 // Impossible on iOS. Do nothing.
16}
17
Dave Tapuskabf0b42d2023-02-10 17:26:1818bool GetAppOutput(const CommandLine& cl, std::string* output) {
19 return false;
20}
21
22bool GetAppOutputAndError(const CommandLine& cl, std::string* output) {
23 return false;
24}
25
26Process LaunchProcess(const CommandLine& cmdline,
27 const LaunchOptions& options) {
28 return Process();
29}
30
[email protected]300c3862013-07-17 18:12:4031} // namespace base