Index: webkit/glue/plugins/plugin_group.h |
diff --git a/webkit/glue/plugins/plugin_group.h b/webkit/glue/plugins/plugin_group.h |
index a7712387f7badee49f081af4a18445d8930760d4..5098787635b1f7d6d26b5f06b146964b0707995c 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: |
typedef std::map<std::string, PluginGroup*> PluginMap; |
@@ -176,8 +180,6 @@ class PluginGroup { |
void InitFrom(const PluginGroup& other); |
- 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); |