---- chromium-browser-5.0.312.0~svn20100201r37680/src/webkit/glue/plugins/plugin_list_linux.cc~ 2010-01-27 05:02:57.000000000 +0200
-+++ chromium-browser-5.0.312.0~svn20100201r37680/src/webkit/glue/plugins/plugin_list_linux.cc 2010-02-02 11:11:28.576140937 +0200
-@@ -65,6 +65,10 @@
- PathService::Get(base::DIR_EXE, &dir);
- plugin_dirs->push_back(dir.Append("plugins"));
+- search plugins from ~/.mozilla plugins and $MOZ_PLUGIN_PATH, so in short, plugins are searched from:
+1. %{_libdir}/%{name}/plugins
+2. $MOZ_PLUGIN_PATH (colon separated)
+3. ~/.mozilla/plugins
+
+--- chromium-browser-10.0.632.0~svn20110107r70714/content/common/plugin_list_posix.cc~ 2010-12-22 04:02:37.000000000 +0100
++++ chromium-browser-10.0.632.0~svn20110107r70714/content/common/plugin_list_posix.cc 2011-01-07 17:41:38.193692743 +0100
+@@ -146,6 +146,8 @@
+ if (!home.empty())
+ plugin_dirs->push_back(home.Append(".mozilla/plugins"));
-+ // on PLD Linux we want to search only Chrome specific dirs, but as there is
-+ // not user specific dir yet, this leaves us with Chrome system dir only.
++ // in PLD Linux we want to search only Chrome specific dirs.
+#if 0
-+
- // Mozilla code to reference:
- // http://mxr.mozilla.org/firefox/ident?i=NS_APP_PLUGINS_DIR_LIST
- // and tens of accompanying files (mxr is very helpful).
-@@ -101,6 +105,7 @@
+ // 3) NS_SYSTEM_PLUGINS_DIR:
+ // This varies across different browsers and versions, so check 'em all.
+ plugin_dirs->push_back(FilePath("/usr/lib/browser-plugins"));
+@@ -161,6 +163,7 @@
plugin_dirs->push_back(FilePath("/usr/lib64/firefox/plugins"));
plugin_dirs->push_back(FilePath("/usr/lib64/xulrunner-addons/plugins"));
- #endif
-+#endif
+ #endif // defined(ARCH_CPU_64_BITS)
++#endif // PLD Linux
+ #endif // !defined(OS_CHROMEOS)
}
- void PluginList::LoadPluginsFromDir(const FilePath& path,