Index: chrome/browser/about_flags.cc |
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
index 17c4aa0b5dfe835d0abf18f5f09aac797b07bc32..edae4f4cb001b15b5a8d8f1febf5ad9fc64045fd 100644 |
--- a/chrome/browser/about_flags.cc |
+++ b/chrome/browser/about_flags.cc |
@@ -190,6 +190,11 @@ const Experiment::Choice kNaClDebugMaskChoices[] = { |
// Secure shell can be used on ChromeOS for forwarding the TCP port opened by |
// debug stub to a remote machine. Since secure shell uses NaCl, we provide |
// an option to switch off its debugging. |
+ // The PNaCl translator is a NaCl module that runs before the user's |
+ // actual NaCl module, so we want to be able to switch off debugging that. |
+ { IDS_NACL_DEBUG_MASK_CHOICE_EXCLUDE_UTILS_PNACL, |
+ switches::kNaClDebugMask, |
+ "!*://*/*ssh_client.nmf,chrome://pnacl-translator/*" }, |
{ IDS_NACL_DEBUG_MASK_CHOICE_EXCLUDE_UTILS, |
switches::kNaClDebugMask, "!*://*/*ssh_client.nmf" }, |
{ IDS_NACL_DEBUG_MASK_CHOICE_INCLUDE_DEBUG, |