Index: chrome/browser/process_singleton.h |
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h |
index e7532463ef09f80c48677d2dc606548064224c3c..502b75f1aede9ce39b4a28fc1580b63960662b1d 100644 |
--- a/chrome/browser/process_singleton.h |
+++ b/chrome/browser/process_singleton.h |
@@ -22,9 +22,9 @@ |
#include "base/file_path.h" |
#endif // defined(OS_POSIX) |
-#if defined(OS_LINUX) |
+#if defined(OS_LINUX) || defined(OS_OPENBSD) |
#include "base/scoped_temp_dir.h" |
-#endif // defined(OS_LINUX) |
+#endif // defined(OS_LINUX) || defined(OS_OPENBSD) |
class CommandLine; |
class FilePath; |
@@ -67,7 +67,7 @@ class ProcessSingleton : public base::NonThreadSafe { |
// instance. |
NotifyResult NotifyOtherProcessOrCreate(); |
-#if defined(OS_LINUX) |
+#if defined(OS_LINUX) || defined(OS_OPENBSD) |
// 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, |
@@ -76,7 +76,7 @@ class ProcessSingleton : public base::NonThreadSafe { |
NotifyResult NotifyOtherProcessWithTimeoutOrCreate( |
const CommandLine& command_line, |
int timeout_seconds); |
-#endif // defined(OS_LINUX) |
+#endif // defined(OS_LINUX) || defined(OS_OPENBSD) |
#if defined(OS_WIN) && !defined(USE_AURA) |
// Used in specific cases to let us know that there is an existing instance |
@@ -151,7 +151,7 @@ class ProcessSingleton : public base::NonThreadSafe { |
HWND remote_window_; // The HWND_MESSAGE of another browser. |
HWND window_; // The HWND_MESSAGE window. |
bool is_virtualized_; // Stuck inside Microsoft Softricity VM environment. |
-#elif defined(OS_LINUX) |
+#elif defined(OS_LINUX) || defined(OS_OPENBSD) |
// Path in file system to the socket. |
FilePath socket_path_; |