Lines Matching defs:plugin
26 // On Linux, once we're sandboxed, we can't know if a plugin is available or
29 // flag if the plugin file is available. Then we can skip the check on file
50 // command-line = <plugin-entry> + *( LWS + "," + LWS + <plugin-entry> )
51 // plugin-entry =
77 PepperPluginInfo plugin;
78 plugin.is_out_of_process = out_of_process;
83 plugin.path = base::FilePath(base::ASCIIToUTF16(name_parts[0]));
85 plugin.path = base::FilePath(name_parts[0]);
90 if (base::PathExists(plugin.path)) {
93 VLOG(1) << "Plugin doesn't exist: " << plugin.path.MaybeAsASCII();
99 plugin.name = name_parts[1];
101 plugin.description = name_parts[2];
103 plugin.version = name_parts[3];
107 plugin.description);
108 plugin.mime_types.push_back(mime_type);
111 // If the plugin name is empty, use the filename.
112 if (plugin.name.empty()) {
113 plugin.name =
114 base::UTF16ToUTF8(plugin.path.BaseName().LossyDisplayName());
118 plugin.permissions = ppapi::PERMISSION_ALL_BITS;
120 plugins->push_back(plugin);