Index: webkit/glue/plugins/plugin_group.h |
diff --git a/webkit/glue/plugins/plugin_group.h b/webkit/glue/plugins/plugin_group.h |
index 228143757167ba035e05902fdda253e07dfe3b7e..262acf4990f8631048a2ce4750eae5dc2f98b258 100644 |
--- a/webkit/glue/plugins/plugin_group.h |
+++ b/webkit/glue/plugins/plugin_group.h |
@@ -136,6 +136,10 @@ class PluginGroup { |
// minimum version. |
void DisableOutdatedPlugins(); |
+ // Parse a version string as used by a plug-in. This method is more lenient |
+ // in accepting weird version strings than Version::GetFromString(). |
+ static Version* CreateVersionFromString(const string16& version_string); |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(PluginGroupTest, PluginGroupDefinition); |
@@ -150,8 +154,6 @@ class PluginGroup { |
const std::string& update_url, |
const std::string& identifier); |
- Version* CreateVersionFromString(const string16& version_string); |
- |
// Set the description and version for this plugin group from the |
// given plug-in. |
void UpdateDescriptionAndVersion(const WebPluginInfo& plugin); |