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

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

Issue 10828279: Preprocessing version number for plugins to ignore leading zeros during comparisons. This eliminate… (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 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 | « no previous file | webkit/plugins/npapi/plugin_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_group.h
===================================================================
--- webkit/plugins/npapi/plugin_group.h (revision 151240)
+++ webkit/plugins/npapi/plugin_group.h (working copy)
@@ -129,6 +129,11 @@
return web_plugin_infos_;
}
+ // Removes leading zeros from each of the components of a version string.
+ // The input version string should be in this format: XXX.YYY.ZZZ...etc.
+ static std::string RemoveLeadingZerosFromVersionComponents(
+ const std::string& version);
+
std::string identifier_;
string16 group_name_;
string16 name_matcher_;
« no previous file with comments | « no previous file | webkit/plugins/npapi/plugin_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698