*base::CommandLine::ForCurrentProcess();
#if BUILDFLAG(IS_TIZEN_TV)
+ if (command_line.HasSwitch(switches::kXWalkExtensionPath)) {
+ wrt::XWalkExtensionRendererController::SetPrivilegeChecker(
+ base::BindRepeating([]() -> bool {
+ // TODO(dh81.song)
+ // necessary to decide whether allow webapis for external URLs
+ return true;
+ }));
+ }
if (command_line.HasSwitch(switches::kApplicationType)) {
std::string type =
command_line.GetSwitchValueASCII(switches::kApplicationType);
if (!command_line.HasSwitch(switches::kSingleProcess))
LocaleEfl::Initialize();
-
-#if BUILDFLAG(IS_TIZEN)
- if (command_line.HasSwitch(switches::kXWalkExtensionPath)) {
- wrt::XWalkExtensionRendererController::SetPrivilegeChecker(
- base::BindRepeating([]() -> bool {
- // TODO(dh81.song)
- // necessary to decide whether allow webapis for external URLs
- return true;
- }));
- }
-#endif
}
void ContentRendererClientEfl::RenderFrameCreated(content::RenderFrame* render_frame) {