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

Side by Side Diff: content/public/common/webplugininfo.h

Issue 2862753002: Mark Render{Frame,View}::GetWebkitPreferences() return values as const. (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/public/renderer/render_frame.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_PUBLIC_COMMON_WEBPLUGININFO_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_WEBPLUGININFO_H_
6 #define CONTENT_PUBLIC_COMMON_WEBPLUGININFO_H_ 6 #define CONTENT_PUBLIC_COMMON_WEBPLUGININFO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 25 matching lines...) Expand all
36 std::vector<std::string> file_extensions; 36 std::vector<std::string> file_extensions;
37 37
38 // Description of the mime type. 38 // Description of the mime type.
39 base::string16 description; 39 base::string16 description;
40 40
41 // Extra parameters to include when instantiating the plugin. 41 // Extra parameters to include when instantiating the plugin.
42 std::vector<base::string16> additional_param_names; 42 std::vector<base::string16> additional_param_names;
43 std::vector<base::string16> additional_param_values; 43 std::vector<base::string16> additional_param_values;
44 }; 44 };
45 45
46 // Describes an available NPAPI or Pepper plugin. 46 // Describes an available Pepper plugin.
47 struct CONTENT_EXPORT WebPluginInfo { 47 struct CONTENT_EXPORT WebPluginInfo {
48 enum PluginType { 48 enum PluginType {
49 PLUGIN_TYPE_PEPPER_IN_PROCESS, 49 PLUGIN_TYPE_PEPPER_IN_PROCESS,
50 PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS, 50 PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS,
51 PLUGIN_TYPE_BROWSER_PLUGIN 51 PLUGIN_TYPE_BROWSER_PLUGIN
52 }; 52 };
53 53
54 WebPluginInfo(); 54 WebPluginInfo();
55 WebPluginInfo(const WebPluginInfo& rhs); 55 WebPluginInfo(const WebPluginInfo& rhs);
56 ~WebPluginInfo(); 56 ~WebPluginInfo();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Plugin type. See the PluginType enum. 90 // Plugin type. See the PluginType enum.
91 int type; 91 int type;
92 92
93 // When type is PLUGIN_TYPE_PEPPER_* this indicates the permission bits. 93 // When type is PLUGIN_TYPE_PEPPER_* this indicates the permission bits.
94 int32_t pepper_permissions; 94 int32_t pepper_permissions;
95 }; 95 };
96 96
97 } // namespace content 97 } // namespace content
98 98
99 #endif // CONTENT_PUBLIC_COMMON_WEBPLUGININFO_H_ 99 #endif // CONTENT_PUBLIC_COMMON_WEBPLUGININFO_H_
OLDNEW
« no previous file with comments | « no previous file | content/public/renderer/render_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698