| Index: webkit/support/webkit_support_glue.cc
|
| diff --git a/webkit/support/webkit_support_glue.cc b/webkit/support/webkit_support_glue.cc
|
| index 9ca9a882557edfc458d5f5bdf5455eb44c8897c6..7f89dcd7d9cbfa197b4596ead61a486ddcd3fe7c 100644
|
| --- a/webkit/support/webkit_support_glue.cc
|
| +++ b/webkit/support/webkit_support_glue.cc
|
| @@ -8,34 +8,11 @@
|
| #include "base/path_service.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "webkit/glue/user_agent.h"
|
| -#include "webkit/plugins/npapi/plugin_list.h"
|
|
|
| // Functions needed by webkit_glue.
|
|
|
| namespace webkit_glue {
|
|
|
| -void GetPlugins(bool refresh,
|
| - std::vector<webkit::WebPluginInfo>* plugins) {
|
| - if (refresh)
|
| - webkit::npapi::PluginList::Singleton()->RefreshPlugins();
|
| - webkit::npapi::PluginList::Singleton()->GetPlugins(plugins);
|
| - // Don't load the forked npapi_layout_test_plugin in DRT, we only want to
|
| - // use the upstream version TestNetscapePlugIn.
|
| - const FilePath::StringType kPluginBlackList[] = {
|
| - FILE_PATH_LITERAL("npapi_layout_test_plugin.dll"),
|
| - FILE_PATH_LITERAL("WebKitTestNetscapePlugIn.plugin"),
|
| - FILE_PATH_LITERAL("libnpapi_layout_test_plugin.so"),
|
| - };
|
| - for (int i = plugins->size() - 1; i >= 0; --i) {
|
| - webkit::WebPluginInfo plugin_info = plugins->at(i);
|
| - for (size_t j = 0; j < arraysize(kPluginBlackList); ++j) {
|
| - if (plugin_info.path.BaseName() == FilePath(kPluginBlackList[j])) {
|
| - plugins->erase(plugins->begin() + i);
|
| - }
|
| - }
|
| - }
|
| -}
|
| -
|
| void AppendToLog(const char*, int, const char*) {
|
| }
|
|
|
|
|