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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 base::FilePath path; // Internal plugins have "internal-[name]" as path. | 54 base::FilePath path; // Internal plugins have "internal-[name]" as path. |
55 std::string name; | 55 std::string name; |
56 std::string description; | 56 std::string description; |
57 std::string version; | 57 std::string version; |
58 std::vector<WebPluginMimeType> mime_types; | 58 std::vector<WebPluginMimeType> mime_types; |
59 | 59 |
60 // True when the plugin has been detected as the debug version. | 60 // True when the plugin has been detected as the debug version. |
61 // Defaults to false. | 61 // Defaults to false. |
62 bool is_debug; | 62 bool is_debug; |
63 | 63 |
| 64 // True when the plugin is on a local drive. The sandbox will not successfully |
| 65 // load a plugin on a remote drive. |
| 66 // Defaults to true. |
| 67 bool is_on_local_drive; |
| 68 |
| 69 // True when the plugin is an external plugin i.e. not bundled with Chrome or |
| 70 // via the component updater. |
| 71 // Defaults to false. |
| 72 bool is_external; |
| 73 |
| 74 // True when the plugin is bundled with Chrome. |
| 75 // Defaults to false. |
| 76 bool is_bundled; |
| 77 |
64 // When is_internal is set, this contains the function pointers to the | 78 // When is_internal is set, this contains the function pointers to the |
65 // entry points for the internal plugins. | 79 // entry points for the internal plugins. |
66 EntryPoints internal_entry_points; | 80 EntryPoints internal_entry_points; |
67 | 81 |
68 // Permission bits from ppapi::Permission. | 82 // Permission bits from ppapi::Permission. |
69 uint32_t permissions; | 83 uint32_t permissions; |
70 }; | 84 }; |
71 | 85 |
72 } // namespace content | 86 } // namespace content |
73 | 87 |
74 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ | 88 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PLUGIN_INFO_H_ |
OLD | NEW |