Index: content/browser/plugin_service.cc |
diff --git a/content/browser/plugin_service.cc b/content/browser/plugin_service.cc |
index 5e0e910656076fa2394cec4f57f871b1f52a079b..fffb7f395f9dca833cbb529db5b46caae67fe9da 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 { |
@@ -175,7 +175,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 |
@@ -609,7 +609,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, |