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

Unified Diff: webkit/plugins/npapi/plugin_lib.h

Issue 7648017: Make WebPluginInfo more generic (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « webkit/plugins/npapi/plugin_host.cc ('k') | webkit/plugins/npapi/plugin_lib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_lib.h
===================================================================
--- webkit/plugins/npapi/plugin_lib.h (revision 96613)
+++ webkit/plugins/npapi/plugin_lib.h (working copy)
@@ -16,7 +16,6 @@
#include "webkit/plugins/npapi/webplugin.h"
class FilePath;
-struct WebPluginInfo;
namespace webkit {
namespace npapi {
@@ -32,18 +31,19 @@
// Creates a WebPluginInfo structure given a plugin's path. On success
// returns true, with the information being put into "info".
// Returns false if the library couldn't be found, or if it's not a plugin.
- static bool ReadWebPluginInfo(const FilePath& filename, WebPluginInfo* info);
+ static bool ReadWebPluginInfo(const FilePath& filename,
+ webkit::WebPluginInfo* info);
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Parse the result of an NP_GetMIMEDescription() call.
// This API is only used on Unixes, and is exposed here for testing.
static void ParseMIMEDescription(const std::string& description,
- std::vector<WebPluginMimeType>* mime_types);
+ std::vector<webkit::WebPluginMimeType>* mime_types);
// Extract a version number from a description string.
// This API is only used on Unixes, and is exposed here for testing.
static void ExtractVersionString(const std::string& version,
- WebPluginInfo* info);
+ webkit::WebPluginInfo* info);
#endif
// Unloads all the loaded plugin libraries and cleans up the plugin map.
@@ -63,7 +63,7 @@
// Gets information about this plugin and the mime types that it
// supports.
- const WebPluginInfo& plugin_info() { return web_plugin_info_; }
+ const webkit::WebPluginInfo& plugin_info() { return web_plugin_info_; }
bool internal() { return internal_; }
@@ -102,7 +102,7 @@
// Creates a new PluginLib.
// |entry_points| is non-NULL for internal plugins.
- PluginLib(const WebPluginInfo& info,
+ PluginLib(const webkit::WebPluginInfo& info,
const PluginEntryPoints* entry_points);
virtual ~PluginLib();
@@ -119,7 +119,7 @@
private:
bool internal_; // True for plugins that are built-in into chrome binaries.
- WebPluginInfo web_plugin_info_; // Supported mime types, description
+ webkit::WebPluginInfo web_plugin_info_; // Supported mime types, description
base::NativeLibrary library_; // The opened library reference.
NPPluginFuncs plugin_funcs_; // The struct of plugin side functions.
bool initialized_; // Is the plugin initialized?
« no previous file with comments | « webkit/plugins/npapi/plugin_host.cc ('k') | webkit/plugins/npapi/plugin_lib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698