Merge pull request #1660 from deepak1556/filesysem_patch

browser: create quota permission context to allow quota request
This commit is contained in:
Cheng Zhao 2015-05-20 14:05:53 +08:00
commit b238ac5981
7 changed files with 77 additions and 0 deletions

View file

@ -78,6 +78,9 @@ void AtomMainDelegate::PreSandboxStartup() {
// Disable renderer sandbox for most of node's functions.
command_line->AppendSwitch(switches::kNoSandbox);
// Allow file:// URIs to read other file:// URIs by default.
command_line->AppendSwitch(switches::kAllowFileAccessFromFiles);
#if defined(OS_MACOSX)
// Enable AVFoundation.
command_line->AppendSwitch("enable-avfoundation");