Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1621)

Unified Diff: webkit/plugins/npapi/plugin_group.cc

Issue 7649029: Cleanup: Remove dead code - PluginList::DisableOutdatedPluginGroups. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/npapi/plugin_group.h ('k') | webkit/plugins/npapi/plugin_group_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_group.cc
===================================================================
--- webkit/plugins/npapi/plugin_group.cc (revision 96803)
+++ webkit/plugins/npapi/plugin_group.cc (working copy)
@@ -510,23 +510,6 @@
return web_plugin_infos_.empty();
}
-void PluginGroup::DisableOutdatedPlugins() {
- ResetGroupState();
- for (size_t i = 0; i < web_plugin_infos_.size(); ++i) {
- scoped_ptr<Version> version(
- CreateVersionFromString(web_plugin_infos_[i].version));
- if (version.get()) {
- for (size_t j = 0; j < version_ranges_.size(); ++j) {
- if (IsPluginOutdated(*version, version_ranges_[j])) {
- Disable(&web_plugin_infos_[i], WebPluginInfo::USER_DISABLED);
- break;
- }
- }
- }
- UpdateActivePlugin(web_plugin_infos_[i]);
- }
-}
-
bool PluginGroup::EnableGroup(bool enable) {
bool group_disabled_by_policy = IsPluginNameDisabledByPolicy(group_name_);
bool group_enabled_by_policy = IsPluginNameEnabledByPolicy(group_name_);
« no previous file with comments | « webkit/plugins/npapi/plugin_group.h ('k') | webkit/plugins/npapi/plugin_group_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698