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

Unified Diff: content/common/plugin_list.h

Issue 26541011: Return matching plug-ins in the sorted order (by version number). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use multiset Created 7 years, 2 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 | « no previous file | content/common/plugin_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/plugin_list.h
diff --git a/content/common/plugin_list.h b/content/common/plugin_list.h
index 1205238706bc0578553bed5f26eaf88f05bc0686..78f83fe03ea11b82c8a804fef7b47a8223387976 100644
--- a/content/common/plugin_list.h
+++ b/content/common/plugin_list.h
@@ -171,6 +171,10 @@ class CONTENT_EXPORT PluginList {
LOADING_STATE_UP_TO_DATE,
};
+ struct VersionComparator {
+ bool operator()(const WebPluginInfo& lhs, const WebPluginInfo& rhs) const;
+ };
+
friend class PluginListTest;
friend struct base::DefaultLazyInstanceTraits<PluginList>;
« no previous file with comments | « no previous file | content/common/plugin_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698