const char* kRunAsNode = "ELECTRON_RUN_AS_NODE";
+// Default command line flags for all profiles and platforms
+const char* kDefaultCommandLineFlags[] = {
+ "allow-file-access-from-files",
+ "enable-tizen-app-container",
+};
+
bool IsEnvSet(const char* name) {
#if defined(OS_WIN)
size_t required_size;
#if defined(USE_EFL)
if (efl::Initialize(argc, argv))
return 1;
+
+ // Add params for EFL port
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
+
+ static std::vector<char*> flags;
+ for (auto arg : kDefaultCommandLineFlags)
+ command_line->AppendSwitch(const_cast<char*>(arg));
+ efl::AppendPortParams(*command_line);
#endif
atom::AtomMainDelegate delegate;