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

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

Issue 5715001: Clean up PluginDataRemover. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forgotten nit Created 10 years 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 | « chrome/browser/plugin_data_remover.cc ('k') | webkit/glue/plugins/plugin_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/plugin_data_remover.cc ('k') | webkit/glue/plugins/plugin_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698