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

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

Issue 11419234: Merge 167979 - Remove PluginList::RemovePlugin() and directly remove old plug-ins from plug-in list… (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years, 1 month 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_list.h ('k') | webkit/plugins/npapi/plugin_list_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_list.cc
===================================================================
--- webkit/plugins/npapi/plugin_list.cc (revision 170233)
+++ webkit/plugins/npapi/plugin_list.cc (working copy)
@@ -698,21 +698,6 @@
return false;
}
-/*static*/
-bool PluginList::RemovePlugin(const FilePath& filename,
- std::vector<webkit::WebPluginInfo>* plugins) {
- bool did_remove = false;
- for (size_t i = 0; i < plugins->size();) {
- if ((*plugins)[i].path == filename) {
- plugins->erase(plugins->begin() + i);
- did_remove = true;
- } else {
- i++;
- }
- }
- return did_remove;
-}
-
PluginList::~PluginList() {
}
« no previous file with comments | « webkit/plugins/npapi/plugin_list.h ('k') | webkit/plugins/npapi/plugin_list_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698