Index: content/browser/plugin_service.h |
diff --git a/content/browser/plugin_service.h b/content/browser/plugin_service.h |
index cc039d63ff15ac3289442d9ae50434abffd18f13..399055e444dfe0684c66809870ec52067995f7e3 100644 |
--- a/content/browser/plugin_service.h |
+++ b/content/browser/plugin_service.h |
@@ -33,7 +33,7 @@ |
#include "base/win/registry.h" |
#endif |
-#if defined(OS_LINUX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
#include "base/files/file_path_watcher.h" |
#endif |
@@ -151,7 +151,7 @@ class PluginService |
const FilePath& plugin_path, |
PluginProcessHost::Client* client); |
-#if defined(OS_LINUX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
// Registers a new FilePathWatcher for a given path. |
static void RegisterFilePathWatcher( |
base::files::FilePathWatcher* watcher, |
@@ -179,7 +179,7 @@ class PluginService |
base::WaitableEventWatcher hklm_watcher_; |
#endif |
-#if defined(OS_LINUX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
ScopedVector<base::files::FilePathWatcher> file_watchers_; |
scoped_refptr<PluginDirWatcherDelegate> file_watcher_delegate_; |
#endif |