openbsd-ports/www/chromium/patches/patch-content_browser_plugin_service_h
robert 1d1f0ea496 update to 15.0.874.102.
switch from using the hacked macosx transport dib to the linux one
which uses sysv shms.
make sure you also have a current kernel before using this version
2011-10-27 07:59:08 +00:00

31 lines
1.1 KiB
Plaintext

$OpenBSD: patch-content_browser_plugin_service_h,v 1.1 2011/10/27 07:59:09 robert Exp $
--- content/browser/plugin_service.h.orig Fri Oct 21 10:29:43 2011
+++ content/browser/plugin_service.h Wed Oct 26 14:10:40 2011
@@ -31,7 +31,7 @@
#include "base/win/registry.h"
#endif
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD)
#include "base/files/file_path_watcher.h"
#endif
@@ -159,7 +159,7 @@ class PluginService
const FilePath& plugin_path,
PluginProcessHost::Client* client);
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD)
// Registers a new FilePathWatcher for a given path.
static void RegisterFilePathWatcher(
base::files::FilePathWatcher* watcher,
@@ -182,7 +182,7 @@ class PluginService
base::WaitableEventWatcher hklm_watcher_;
#endif
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD)
ScopedVector<base::files::FilePathWatcher> file_watchers_;
scoped_refptr<PluginDirWatcherDelegate> file_watcher_delegate_;
#endif