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

Unified Diff: chrome/browser/plugins/plugin_metadata.cc

Issue 11418129: Matching IBM Java plugin using pattern matching. (Closed) Base URL: https://src.chromium.org/chrome/trunk/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
Index: chrome/browser/plugins/plugin_metadata.cc
===================================================================
--- chrome/browser/plugins/plugin_metadata.cc (revision 169236)
+++ chrome/browser/plugins/plugin_metadata.cc (working copy)
@@ -7,6 +7,7 @@
#include <algorithm>
#include "base/logging.h"
+#include "base/string_util.h"
#include "webkit/plugins/npapi/plugin_list.h"
#include "webkit/plugins/npapi/plugin_utils.h"
#include "webkit/plugins/webplugininfo.h"
@@ -69,7 +70,7 @@
return false;
}
- return plugin.name.find(group_name_matcher_) != string16::npos;
+ return MatchPattern(plugin.name, group_name_matcher_);
}
// static

Powered by Google App Engine
This is Rietveld 408576698