Index: content/browser/plugin_service.cc |
diff --git a/content/browser/plugin_service.cc b/content/browser/plugin_service.cc |
index 52ce855008be0dd4c1dcfc0fd283b3c60708bbe7..d2fd544cbe194487b7206cfd3d0f1fd1ded15e9a 100644 |
--- a/content/browser/plugin_service.cc |
+++ b/content/browser/plugin_service.cc |
@@ -37,7 +37,7 @@ |
#include "webkit/plugins/npapi/plugin_list.h" |
#include "webkit/plugins/webplugininfo.h" |
-#if defined(OS_POSIX) && !defined(OS_MACOSX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) |
using ::base::files::FilePathWatcher; |
#endif |
@@ -86,7 +86,7 @@ static void NotifyPluginsOfActivation() { |
plugin->OnAppActivation(); |
} |
} |
-#elif defined(OS_POSIX) |
+#elif defined(OS_POSIX) && !defined(OS_OPENBSD) |
// Delegate class for monitoring directories. |
class PluginDirWatcherDelegate : public FilePathWatcher::Delegate { |
virtual void OnFilePathChanged(const FilePath& path) OVERRIDE { |
@@ -173,7 +173,7 @@ void PluginService::StartWatchingPlugins() { |
hklm_watcher_.StartWatching(hklm_event_.get(), this); |
} |
} |
-#elif defined(OS_POSIX) && !defined(OS_MACOSX) |
+#elif defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) |
// The FilePathWatcher produces too many false positives on MacOS (access time |
// updates?) which will lead to enforcing updates of the plugins way too often. |
// On ChromeOS the user can't install plugins anyway and on Windows all |
@@ -613,7 +613,7 @@ content::PepperPluginInfo* PluginService::GetRegisteredPpapiPluginInfo( |
return &ppapi_plugins_[ppapi_plugins_.size() - 1]; |
} |
-#if defined(OS_POSIX) && !defined(OS_MACOSX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) |
// static |
void PluginService::RegisterFilePathWatcher( |
FilePathWatcher *watcher, |