| Index: chrome/browser/plugins/plugin_finder.cc
|
| diff --git a/chrome/browser/plugins/plugin_finder.cc b/chrome/browser/plugins/plugin_finder.cc
|
| index e51a2643f3f9e95e37726a33eb876135d6c8c76e..23fe235c2240154fe473fef2129c235375fca123 100644
|
| --- a/chrome/browser/plugins/plugin_finder.cc
|
| +++ b/chrome/browser/plugins/plugin_finder.cc
|
| @@ -252,20 +252,6 @@ PluginFinder::~PluginFinder() {
|
| STLDeleteValues(&identifier_plugin_);
|
| }
|
|
|
| -base::string16 PluginFinder::FindPluginName(const std::string& mime_type,
|
| - const std::string& language) {
|
| - base::AutoLock lock(mutex_);
|
| -
|
| - for (auto plugin : identifier_plugin_) {
|
| - if (language == plugin.second->language() &&
|
| - plugin.second->HasMimeType(mime_type)) {
|
| - return plugin.second->name();
|
| - }
|
| - }
|
| -
|
| - return base::UTF8ToUTF16(mime_type);
|
| -}
|
| -
|
| #if defined(ENABLE_PLUGIN_INSTALLATION)
|
| bool PluginFinder::FindPlugin(
|
| const std::string& mime_type,
|
| @@ -342,17 +328,6 @@ void PluginFinder::ReinitializePlugins(
|
| }
|
| }
|
|
|
| -base::string16 PluginFinder::FindPluginNameWithIdentifier(
|
| - const std::string& identifier) {
|
| - base::AutoLock lock(mutex_);
|
| - PluginMap::const_iterator it = identifier_plugin_.find(identifier);
|
| - base::string16 name;
|
| - if (it != identifier_plugin_.end())
|
| - name = it->second->name();
|
| -
|
| - return name.empty() ? base::UTF8ToUTF16(identifier) : name;
|
| -}
|
| -
|
| scoped_ptr<PluginMetadata> PluginFinder::GetPluginMetadata(
|
| const content::WebPluginInfo& plugin) {
|
| base::AutoLock lock(mutex_);
|
|
|