refactor: implement ipcRenderer.sendTo in native code for better performance (#14285)

This commit is contained in:
Milan Burda 2018-08-24 23:14:39 +02:00 committed by Samuel Attard
parent e6e3ccfc50
commit c23e7fa101
7 changed files with 54 additions and 25 deletions

View file

@ -22,6 +22,12 @@ base::ListValue SendSync(mate::Arguments* args,
const std::string& channel,
const base::ListValue& arguments);
void SendTo(mate::Arguments* args,
bool send_to_all,
int32_t web_contents_id,
const base::string16& channel,
const base::ListValue& arguments);
void Initialize(v8::Local<v8::Object> exports,
v8::Local<v8::Value> unused,
v8::Local<v8::Context> context,