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

Unified Diff: webkit/plugins/webplugininfo.h

Issue 19844003: Remove webkit/plugins/npapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove GetDefaultWindowParent Created 7 years, 5 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
Index: webkit/plugins/webplugininfo.h
===================================================================
--- webkit/plugins/webplugininfo.h (revision 212595)
+++ webkit/plugins/webplugininfo.h (working copy)
@@ -11,6 +11,10 @@
#include "base/basictypes.h"
#include "base/files/file_path.h"
+namespace base {
+class Version;
+}
+
namespace webkit {
struct WebPluginMimeType {
@@ -62,6 +66,11 @@
(type == PLUGIN_TYPE_PEPPER_UNSANDBOXED));
}
+ // Parse a version string as used by a plug-in. This method is more lenient
+ // in accepting weird version strings than base::Version::GetFromString()
+ static void CreateVersionFromString(const base::string16& version_string,
+ base::Version* parsed_version);
+
// The name of the plugin (i.e. Flash).
base::string16 name;

Powered by Google App Engine
This is Rietveld 408576698