Index: chrome/browser/process_singleton.h |
=================================================================== |
--- chrome/browser/process_singleton.h (revision 69803) |
+++ chrome/browser/process_singleton.h (working copy) |
@@ -10,19 +10,21 @@ |
#if defined(OS_WIN) |
#include <windows.h> |
-#endif |
+#endif // defined(OS_WIN) |
#include "base/basictypes.h" |
-#if defined(USE_X11) || defined(OS_MACOSX) |
-#include "base/file_path.h" |
-#endif |
#include "base/logging.h" |
#include "base/non_thread_safe.h" |
#include "base/ref_counted.h" |
#include "gfx/native_widget_types.h" |
+ |
+#if defined(OS_POSIX) |
+#include "base/file_path.h" |
+#endif // defined(OS_POSIX) |
+ |
#if defined(USE_X11) |
#include "base/scoped_temp_dir.h" |
-#endif |
+#endif // defined(USE_X11) |
class CommandLine; |
class FilePath; |
@@ -65,7 +67,7 @@ |
// instance. |
NotifyResult NotifyOtherProcessOrCreate(); |
-#if defined(OS_POSIX) && !defined(OS_MACOSX) |
+#if defined(OS_LINUX) |
// 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, |
@@ -74,7 +76,7 @@ |
NotifyResult NotifyOtherProcessWithTimeoutOrCreate( |
const CommandLine& command_line, |
int timeout_seconds); |
-#endif |
+#endif // defined(OS_LINUX) |
// Sets ourself up as the singleton instance. Returns true on success. If |
// false is returned, we are not the singleton instance and the caller must |