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

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

Issue 10823434: [6] Moves CreateVersionFromString to plugin_utils and updates the callers. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added missing include <algorithm> Created 8 years, 3 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/glue/webkit_glue.gypi ('k') | 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
diff --git a/webkit/plugins/npapi/plugin_group.h b/webkit/plugins/npapi/plugin_group.h
index 0b850d21cb442a1869b2478b0bac159d2c56499c..627d46dbcdea4554f85e5e15e23d778d3cec3a8d 100644
--- a/webkit/plugins/npapi/plugin_group.h
+++ b/webkit/plugins/npapi/plugin_group.h
@@ -85,11 +85,6 @@ class WEBKIT_PLUGINS_EXPORT PluginGroup {
// in has disappeared from the pc (or in the process of updating).
bool IsEmpty() const;
- // Parse a version string as used by a plug-in. This method is more lenient
- // in accepting weird version strings than Version::GetFromString().
- static void CreateVersionFromString(const string16& version_string,
- Version* version);
-
const std::vector<webkit::WebPluginInfo>& web_plugin_infos() const {
return web_plugin_infos_;
}
@@ -129,11 +124,6 @@ class WEBKIT_PLUGINS_EXPORT PluginGroup {
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 | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/npapi/plugin_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698