$OpenBSD: patch-chrome_browser_task_manager_sampling_task_group_h,v 1.3 2017/10/28 07:36:00 robert Exp $
Index: chrome/browser/task_manager/sampling/task_group.h
--- chrome/browser/task_manager/sampling/task_group.h.orig
+++ chrome/browser/task_manager/sampling/task_group.h
@@ -99,7 +99,7 @@ class TaskGroup {
   int nacl_debug_stub_port() const { return nacl_debug_stub_port_; }
 #endif  // !defined(DISABLE_NACL)
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   int open_fd_count() const { return open_fd_count_; }
 #endif  // defined(OS_LINUX)
 
@@ -127,7 +127,7 @@ class TaskGroup {
 
   void OnIdleWakeupsRefreshDone(int idle_wakeups_per_second);
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   void OnOpenFdCountRefreshDone(int open_fd_count);
 #endif  // defined(OS_LINUX)
 
@@ -182,7 +182,7 @@ class TaskGroup {
   int nacl_debug_stub_port_;
 #endif  // !defined(DISABLE_NACL)
   int idle_wakeups_per_second_;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // The number of file descriptors currently open by the process.
   int open_fd_count_;
 #endif  // defined(OS_LINUX)
