blob: c021feafba5371aa9d24f885157b1c2cc9c6df40 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- base/process/process_linux.cc.orig 2019-12-12 12:38:59 UTC
+++ base/process/process_linux.cc
@@ -88,6 +88,7 @@ Time Process::CreationTime() const {
return Time(boot_time + start_offset);
}
+#if !defined(OS_BSD)
// static
bool Process::CanBackgroundProcesses() {
#if defined(OS_CHROMEOS)
@@ -139,6 +140,7 @@ bool Process::SetProcessBackgrounded(bool background)
DPCHECK(result == 0);
return result == 0;
}
+#endif // !defined(OS_BSD)
#if defined(OS_CHROMEOS)
bool IsProcessBackgroundedCGroup(const StringPiece& cgroup_contents) {
|