Index: chrome/browser/process_singleton.h |
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h |
index 737dabaf4cec8ce0b5fae0c5f90d8bc5a710b149..8654f4f53ba5966a4a63952b213fce1710e79171 100644 |
--- a/chrome/browser/process_singleton.h |
+++ b/chrome/browser/process_singleton.h |
@@ -24,9 +24,9 @@ |
#include "base/threading/non_thread_safe.h" |
#include "ui/gfx/native_widget_types.h" |
-#if defined(OS_LINUX) || defined(OS_OPENBSD) |
+#if defined(OS_LINUX) || defined(OS_BSD) |
#include "base/files/scoped_temp_dir.h" |
-#endif // defined(OS_LINUX) || defined(OS_OPENBSD) |
+#endif // defined(OS_LINUX) || defined(OS_BSD) |
class CommandLine; |
@@ -88,9 +88,9 @@ class ProcessSingleton : public base::NonThreadSafe { |
LRESULT WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); |
#endif |
-#if defined(OS_LINUX) || defined(OS_OPENBSD) |
+#if defined(OS_LINUX) || defined(OS_BSD) |
static void DisablePromptForTesting(); |
-#endif // defined(OS_LINUX) || defined(OS_OPENBSD) |
+#endif // defined(OS_LINUX) || defined(OS_BSD) |
protected: |
// Notify another process, if available. |
@@ -99,7 +99,7 @@ class ProcessSingleton : public base::NonThreadSafe { |
// On Windows, Create() has to be called before this. |
NotifyResult NotifyOtherProcess(); |
-#if defined(OS_LINUX) || defined(OS_OPENBSD) |
+#if defined(OS_LINUX) || defined(OS_BSD) |
// Exposed for testing. We use a timeout on Linux, and in tests we want |
// this timeout to be short. |
NotifyResult NotifyOtherProcessWithTimeout(const CommandLine& command_line, |
@@ -111,7 +111,7 @@ class ProcessSingleton : public base::NonThreadSafe { |
void OverrideCurrentPidForTesting(base::ProcessId pid); |
void OverrideKillCallbackForTesting( |
const base::Callback<void(int)>& callback); |
-#endif // defined(OS_LINUX) || defined(OS_OPENBSD) |
+#endif // defined(OS_LINUX) || defined(OS_BSD) |
private: |
#if !defined(OS_MACOSX) |
@@ -133,7 +133,7 @@ class ProcessSingleton : public base::NonThreadSafe { |
bool is_virtualized_; // Stuck inside Microsoft Softricity VM environment. |
HANDLE lock_file_; |
base::FilePath user_data_dir_; |
-#elif defined(OS_LINUX) || defined(OS_OPENBSD) |
+#elif defined(OS_LINUX) || defined(OS_BSD) |
// Return true if the given pid is one of our child processes. |
// Assumes that the current pid is the root of all pids of the current |
// instance. |