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 30 matching lines...) Expand all Loading... |
41 | 41 |
42 // Indicates internal plugins for which there's not actually a library. | 42 // Indicates internal plugins for which there's not actually a library. |
43 // These plugins are implemented in the Chrome binary using a separate set | 43 // These plugins are implemented in the Chrome binary using a separate set |
44 // of entry points (see internal_entry_points below). | 44 // of entry points (see internal_entry_points below). |
45 // Defaults to false. | 45 // Defaults to false. |
46 bool is_internal; | 46 bool is_internal; |
47 | 47 |
48 // True when this plugin should be run out of process. Defaults to false. | 48 // True when this plugin should be run out of process. Defaults to false. |
49 bool is_out_of_process; | 49 bool is_out_of_process; |
50 | 50 |
51 // True when an out-of-process plugin should also be run within sandbox. | |
52 // Defaults to true. | |
53 bool is_sandboxed; | |
54 | |
55 base::FilePath path; // Internal plugins have "internal-[name]" as path. | 51 base::FilePath path; // Internal plugins have "internal-[name]" as path. |
56 std::string name; | 52 std::string name; |
57 std::string description; | 53 std::string description; |
58 std::string version; | 54 std::string version; |
59 std::vector<WebPluginMimeType> mime_types; | 55 std::vector<WebPluginMimeType> mime_types; |
60 | 56 |
61 // When is_internal is set, this contains the function pointers to the | 57 // When is_internal is set, this contains the function pointers to the |
62 // entry points for the internal plugins. | 58 // entry points for the internal plugins. |
63 EntryPoints internal_entry_points; | 59 EntryPoints internal_entry_points; |
64 | 60 |
65 // Permission bits from ppapi::Permission. | 61 // Permission bits from ppapi::Permission. |
66 uint32 permissions; | 62 uint32 permissions; |
67 }; | 63 }; |
68 | 64 |
69 } // namespace content | 65 } // namespace content |
70 | 66 |
71 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ | 67 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ |
OLD | NEW |