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

Side by Side Diff: webkit/glue/plugins/webplugininfo.h

Issue 5918003: Bugfixes for recent PluginGroup refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/plugins/plugin_list.cc ('k') | webkit/glue/plugins/webplugininfo.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_GLUE_PLUGINS_WEBPLUGININFO_H_
6 #define WEBKIT_GLUE_WEBPLUGININFO_H_ 6 #define WEBKIT_GLUE_PLUGINS_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 // Describes a mime type entry for a plugin. 14 // Describes a mime type entry for a plugin.
15 struct WebPluginMimeType { 15 struct WebPluginMimeType {
16 WebPluginMimeType(); 16 WebPluginMimeType();
(...skipping 11 matching lines...) Expand all
28 28
29 // Describes an available NPAPI plugin. 29 // Describes an available NPAPI plugin.
30 struct WebPluginInfo { 30 struct WebPluginInfo {
31 WebPluginInfo(); 31 WebPluginInfo();
32 WebPluginInfo(const WebPluginInfo& rhs); 32 WebPluginInfo(const WebPluginInfo& rhs);
33 ~WebPluginInfo(); 33 ~WebPluginInfo();
34 WebPluginInfo& operator=(const WebPluginInfo& rhs); 34 WebPluginInfo& operator=(const WebPluginInfo& rhs);
35 35
36 // Special constructor only used during unit testing: 36 // Special constructor only used during unit testing:
37 WebPluginInfo(const string16& fake_name, 37 WebPluginInfo(const string16& fake_name,
38 const FilePath& fake_path,
38 const string16& fake_version, 39 const string16& fake_version,
39 const string16& fake_desc); 40 const string16& fake_desc);
40 41
41 // The name of the plugin (i.e. Flash). 42 // The name of the plugin (i.e. Flash).
42 string16 name; 43 string16 name;
43 44
44 // The path to the plugin file (DLL/bundle/library). 45 // The path to the plugin file (DLL/bundle/library).
45 FilePath path; 46 FilePath path;
46 47
47 // The version number of the plugin file (may be OS-specific) 48 // The version number of the plugin file (may be OS-specific)
48 string16 version; 49 string16 version;
49 50
50 // A description of the plugin that we get from its version info. 51 // A description of the plugin that we get from its version info.
51 string16 desc; 52 string16 desc;
52 53
53 // A list of all the mime types that this plugin supports. 54 // A list of all the mime types that this plugin supports.
54 std::vector<WebPluginMimeType> mime_types; 55 std::vector<WebPluginMimeType> mime_types;
55 56
56 // Whether the plugin is enabled. 57 // Whether the plugin is enabled.
57 bool enabled; 58 bool enabled;
58 }; 59 };
59 60
60 #endif // WEBKIT_GLUE_WEBPLUGININFO_H_ 61 #endif // WEBKIT_GLUE_PLUGINS_WEBPLUGININFO_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/plugin_list.cc ('k') | webkit/glue/plugins/webplugininfo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698