| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 // Defaults to false. | 27 // Defaults to false. |
| 28 bool is_internal; | 28 bool is_internal; |
| 29 | 29 |
| 30 // True when this plugin should be run out of process. Defaults to false. | 30 // True when this plugin should be run out of process. Defaults to false. |
| 31 bool is_out_of_process; | 31 bool is_out_of_process; |
| 32 | 32 |
| 33 // True when an out-of-process plugin should also be run within sandbox. | 33 // True when an out-of-process plugin should also be run within sandbox. |
| 34 // Defaults to true. | 34 // Defaults to true. |
| 35 bool is_sandboxed; | 35 bool is_sandboxed; |
| 36 | 36 |
| 37 FilePath path; // Internal plugins have "internal-[name]" as path. | 37 base::FilePath path; // Internal plugins have "internal-[name]" as path. |
| 38 std::string name; | 38 std::string name; |
| 39 std::string description; | 39 std::string description; |
| 40 std::string version; | 40 std::string version; |
| 41 std::vector<webkit::WebPluginMimeType> mime_types; | 41 std::vector<webkit::WebPluginMimeType> mime_types; |
| 42 | 42 |
| 43 // When is_internal is set, this contains the function pointers to the | 43 // When is_internal is set, this contains the function pointers to the |
| 44 // entry points for the internal plugins. | 44 // entry points for the internal plugins. |
| 45 webkit::ppapi::PluginModule::EntryPoints internal_entry_points; | 45 webkit::ppapi::PluginModule::EntryPoints internal_entry_points; |
| 46 | 46 |
| 47 // Permission bits from ppapi::Permission. | 47 // Permission bits from ppapi::Permission. |
| 48 uint32 permissions; | 48 uint32 permissions; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace content | 51 } // namespace content |
| 52 | 52 |
| 53 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ | 53 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ |
| OLD | NEW |