OLD | NEW |
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_PEPPER_PLUGIN_INFO_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ |
6 #define CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ | 6 #define CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 FilePath path; // Internal plugins have "internal-[name]" as path. | 38 FilePath path; // Internal plugins have "internal-[name]" as path. |
39 std::string name; | 39 std::string name; |
40 std::string description; | 40 std::string description; |
41 std::string version; | 41 std::string version; |
42 std::vector<webkit::WebPluginMimeType> mime_types; | 42 std::vector<webkit::WebPluginMimeType> mime_types; |
43 | 43 |
44 // When is_internal is set, this contains the function pointers to the | 44 // When is_internal is set, this contains the function pointers to the |
45 // entry points for the internal plugins. | 45 // entry points for the internal plugins. |
46 webkit::ppapi::PluginModule::EntryPoints internal_entry_points; | 46 webkit::ppapi::PluginModule::EntryPoints internal_entry_points; |
| 47 |
| 48 // Permission bits from ppapi::Permission. |
| 49 uint32 permissions; |
47 }; | 50 }; |
48 | 51 |
49 } // namespace content | 52 } // namespace content |
50 | 53 |
51 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ | 54 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ |
OLD | NEW |