- Plugins are already loaded in browser
- There is no use of loading in renderer as the plugins
loaded in browser will be used.
Change-Id: I8175667d01f30be7242ff9eb24f7db597533a7c3
Signed-off-by: Prathmesh <prathmesh.m@samsung.com>
}
void XWalkExtensionClient::LoadUserExtensions(const std::string app_path) {
- XWalkExtensionServer* server = XWalkExtensionServer::GetInstance();
- server->LoadUserExtensions(app_path);
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
+ if (command_line->HasSwitch(switches::kSingleProcess)) {
+ XWalkExtensionServer* server = XWalkExtensionServer::GetInstance();
+ server->LoadUserExtensions(app_path);
+ }
}
} // namespace extensions