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

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

Issue 5278001: Add a preference to clear Flash LSO data in the Clear Browsing Data dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
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);

Powered by Google App Engine
This is Rietveld 408576698