| Index: chrome/browser/sandbox_policy.cc
|
| ===================================================================
|
| --- chrome/browser/sandbox_policy.cc (revision 26533)
|
| +++ chrome/browser/sandbox_policy.cc (working copy)
|
| @@ -359,6 +359,8 @@
|
| type = ChildProcessInfo::PLUGIN_PROCESS;
|
| } else if (type_str == switches::kWorkerProcess) {
|
| type = ChildProcessInfo::WORKER_PROCESS;
|
| + } else if (type_str == switches::kNaClProcess) {
|
| + type = ChildProcessInfo::NACL_PROCESS;
|
| } else if (type_str == switches::kUtilityProcess) {
|
| type = ChildProcessInfo::UTILITY_PROCESS;
|
| } else {
|
| @@ -394,6 +396,8 @@
|
| sandbox::TargetPolicy* policy = broker_service->CreatePolicy();
|
|
|
| bool on_sandbox_desktop = false;
|
| + // TODO(gregoryd): try locked-down policy for sel_ldr after we fix IMC.
|
| + // TODO(gregoryd): do we need a new desktop for sel_ldr?
|
| if (type == ChildProcessInfo::PLUGIN_PROCESS) {
|
| if (!AddPolicyForPlugin(cmd_line, policy))
|
| return 0;
|
|
|