Add --disable-pnacl to about://flags
Disabling pnacl was removed from about://flags because the previous implementation produced empty command line flags.
https://chromiumcodereview.appspot.com/23464011/
Add the ability to set it, without producing empty flags.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/23727002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220255 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 4162632..8b9a606f 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -515,6 +515,13 @@
SINGLE_VALUE_TYPE(switches::kEnableNaClDebug)
},
{
+ "disable-pnacl", // FLAGS:RECORD_UMA
+ IDS_FLAGS_DISABLE_PNACL_NAME,
+ IDS_FLAGS_DISABLE_PNACL_DESCRIPTION,
+ kOsDesktop,
+ SINGLE_VALUE_TYPE(switches::kDisablePnacl)
+ },
+ {
"nacl-debug-mask", // FLAGS:RECORD_UMA
IDS_FLAGS_NACL_DEBUG_MASK_NAME,
IDS_FLAGS_NACL_DEBUG_MASK_DESCRIPTION,