| OLD | NEW | 
|---|
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef WEBKIT_GLUE_WEBPLUGININFO_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGININFO_H_ | 
| 6 #define WEBKIT_GLUE_WEBPLUGININFO_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGININFO_H_ | 
| 7 | 7 | 
| 8 #include <string> | 8 #include <string> | 
| 9 #include <vector> | 9 #include <vector> | 
| 10 | 10 | 
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" | 
| 12 #include "base/file_path.h" | 12 #include "base/file_path.h" | 
| 13 | 13 | 
|  | 14 namespace webkit { | 
|  | 15 namespace npapi { | 
|  | 16 | 
| 14 // Describes a mime type entry for a plugin. | 17 // Describes a mime type entry for a plugin. | 
| 15 struct WebPluginMimeType { | 18 struct WebPluginMimeType { | 
| 16   WebPluginMimeType(); | 19   WebPluginMimeType(); | 
| 17   ~WebPluginMimeType(); | 20   ~WebPluginMimeType(); | 
| 18 | 21 | 
| 19   // The name of the mime type (e.g., "application/x-shockwave-flash"). | 22   // The name of the mime type (e.g., "application/x-shockwave-flash"). | 
| 20   std::string mime_type; | 23   std::string mime_type; | 
| 21 | 24 | 
| 22   // A list of all the file extensions for this mime type. | 25   // A list of all the file extensions for this mime type. | 
| 23   std::vector<std::string> file_extensions; | 26   std::vector<std::string> file_extensions; | 
| (...skipping 26 matching lines...) Expand all  Loading... | 
| 50   // A description of the plugin that we get from its version info. | 53   // A description of the plugin that we get from its version info. | 
| 51   string16 desc; | 54   string16 desc; | 
| 52 | 55 | 
| 53   // A list of all the mime types that this plugin supports. | 56   // A list of all the mime types that this plugin supports. | 
| 54   std::vector<WebPluginMimeType> mime_types; | 57   std::vector<WebPluginMimeType> mime_types; | 
| 55 | 58 | 
| 56   // Whether the plugin is enabled. | 59   // Whether the plugin is enabled. | 
| 57   bool enabled; | 60   bool enabled; | 
| 58 }; | 61 }; | 
| 59 | 62 | 
| 60 #endif  // WEBKIT_GLUE_WEBPLUGININFO_H_ | 63 }  // namespace npapi | 
|  | 64 }  // namespace webkit | 
|  | 65 | 
|  | 66 #endif  // WEBKIT_PLUGINS_NPAPI_WEBPLUGININFO_H_ | 
| OLD | NEW | 
|---|