diff options
author | victorhsieh@chromium.org <victorhsieh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 20:29:40 +0000 |
---|---|---|
committer | victorhsieh@chromium.org <victorhsieh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 20:29:40 +0000 |
commit | 93f7206a5283807e3f72917204c3f8152c633bba (patch) | |
tree | b5bed48454ed2dfe077596ba1a24e2126f97563f /chrome/common/chrome_switches.cc | |
parent | 081b544067287a9fc1ed42c0acb693a9a8b914d3 (diff) | |
download | chromium_src-93f7206a5283807e3f72917204c3f8152c633bba.zip chromium_src-93f7206a5283807e3f72917204c3f8152c633bba.tar.gz chromium_src-93f7206a5283807e3f72917204c3f8152c633bba.tar.bz2 |
Flag and whitelist to allow crxfs api in NaCl
This is pretty much the same as existing Pepper Socket API. Since the
original code for socket is in chrome_content_browser_client.h for
crossing chrome-content boundary, it's moved to the new file
pepper_util.cc, so that PepperCrxFileSystemMessageFilter can access
directory inside chrome space.
BUG=240865
Review URL: https://chromiumcodereview.appspot.com/15521002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r-- | chrome/common/chrome_switches.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index d0d5109..9ba69d2 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -44,6 +44,10 @@ const char kAllowLegacyExtensionManifests[] = "allow-legacy-extension-manifests"; // Specifies comma-separated list of extension ids or hosts to grant +// access to CRX file system APIs. +const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api"; + +// Specifies comma-separated list of extension ids or hosts to grant // access to TCP/UDP socket APIs. const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; |