diff options
author | ibraaaa@google.com <ibraaaa@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-27 16:11:52 +0000 |
---|---|---|
committer | ibraaaa@google.com <ibraaaa@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-27 16:11:52 +0000 |
commit | 0b30017682c81cf1b9f86889099f093d15b20f9c (patch) | |
tree | 5920d1bc6efe9c3dd299fdb41d5388c5e333bf80 /content/browser | |
parent | 57b17d2c4baad3683de137317fc6078cc3f0cab6 (diff) | |
download | chromium_src-0b30017682c81cf1b9f86889099f093d15b20f9c.zip chromium_src-0b30017682c81cf1b9f86889099f093d15b20f9c.tar.gz chromium_src-0b30017682c81cf1b9f86889099f093d15b20f9c.tar.bz2 |
Remove PluginGroup
Depends on this CL: http://codereview.chromium.org/10917189/
BUG=124396
Review URL: https://chromiumcodereview.appspot.com/10918174
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159037 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r-- | content/browser/plugin_service_impl.cc | 20 | ||||
-rw-r--r-- | content/browser/plugin_service_impl.h | 4 | ||||
-rw-r--r-- | content/browser/renderer_host/render_message_filter.cc | 1 |
3 files changed, 0 insertions, 25 deletions
diff --git a/content/browser/plugin_service_impl.cc b/content/browser/plugin_service_impl.cc index ffc8d87..58a1447 100644 --- a/content/browser/plugin_service_impl.cc +++ b/content/browser/plugin_service_impl.cc @@ -31,7 +31,6 @@ #include "content/public/common/content_switches.h" #include "content/public/common/process_type.h" #include "webkit/plugins/npapi/plugin_constants_win.h" -#include "webkit/plugins/npapi/plugin_group.h" #include "webkit/plugins/npapi/plugin_list.h" #include "webkit/plugins/webplugininfo.h" @@ -45,16 +44,6 @@ using content::PluginServiceFilter; namespace { -// A callback for GetPlugins() that then gets the freshly loaded plugin groups -// and runs the callback for GetPluginGroups(). -static void GetPluginsForGroupsCallback( - const PluginService::GetPluginGroupsCallback& callback, - const std::vector<webkit::WebPluginInfo>& plugins) { - std::vector<webkit::npapi::PluginGroup> groups; - webkit::npapi::PluginList::Singleton()->GetPluginGroups(false, &groups); - callback.Run(groups); -} - // Callback set on the PluginList to assert that plugin loading happens on the // correct thread. #if defined(OS_WIN) @@ -538,11 +527,6 @@ void PluginServiceImpl::GetPlugins(const GetPluginsCallback& callback) { #endif } -void PluginServiceImpl::GetPluginGroups( - const GetPluginGroupsCallback& callback) { - GetPlugins(base::Bind(&GetPluginsForGroupsCallback, callback)); -} - #if defined(OS_WIN) void PluginServiceImpl::GetPluginsInternal( base::MessageLoopProxy* target_loop, @@ -716,10 +700,6 @@ void PluginServiceImpl::RegisterInternalPlugin( plugin_list_->RegisterInternalPlugin(info, add_at_beginning); } -string16 PluginServiceImpl::GetPluginGroupName(const std::string& plugin_name) { - return plugin_list_->GetPluginGroupName(plugin_name); -} - webkit::npapi::PluginList* PluginServiceImpl::GetPluginList() { return plugin_list_; } diff --git a/content/browser/plugin_service_impl.h b/content/browser/plugin_service_impl.h index 5d3c09f..f5e0d16 100644 --- a/content/browser/plugin_service_impl.h +++ b/content/browser/plugin_service_impl.h @@ -52,7 +52,6 @@ struct PepperPluginInfo; namespace webkit { namespace npapi { -class PluginGroup; class PluginList; } } @@ -96,8 +95,6 @@ class CONTENT_EXPORT PluginServiceImpl webkit::WebPluginInfo* info) OVERRIDE; virtual string16 GetPluginDisplayNameByPath(const FilePath& path) OVERRIDE; virtual void GetPlugins(const GetPluginsCallback& callback) OVERRIDE; - virtual void GetPluginGroups( - const GetPluginGroupsCallback& callback) OVERRIDE; virtual content::PepperPluginInfo* GetRegisteredPpapiPluginInfo( const FilePath& plugin_path) OVERRIDE; virtual void SetFilter(content::PluginServiceFilter* filter) OVERRIDE; @@ -111,7 +108,6 @@ class CONTENT_EXPORT PluginServiceImpl virtual void UnregisterInternalPlugin(const FilePath& path) OVERRIDE; virtual void RegisterInternalPlugin( const webkit::WebPluginInfo& info, bool add_at_beginning) OVERRIDE; - virtual string16 GetPluginGroupName(const std::string& plugin_name) OVERRIDE; virtual webkit::npapi::PluginList* GetPluginList() OVERRIDE; virtual void SetPluginListForTesting( webkit::npapi::PluginList* plugin_list) OVERRIDE; diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc index 46522c0..b408df0 100644 --- a/content/browser/renderer_host/render_message_filter.cc +++ b/content/browser/renderer_host/render_message_filter.cc @@ -59,7 +59,6 @@ #include "ui/gfx/color_profile.h" #include "webkit/glue/webcookie.h" #include "webkit/glue/webkit_glue.h" -#include "webkit/plugins/npapi/plugin_group.h" #include "webkit/plugins/npapi/webplugin.h" #include "webkit/plugins/plugin_constants.h" #include "webkit/plugins/webplugininfo.h" |