refactor: use std::string instead of base::string16 for IPC channel names (#14286)
This commit is contained in:
parent
605a4570c1
commit
e6e3ccfc50
12 changed files with 45 additions and 24 deletions
|
@ -5,6 +5,8 @@
|
|||
#ifndef ATOM_RENDERER_API_ATOM_API_RENDERER_IPC_H_
|
||||
#define ATOM_RENDERER_API_ATOM_API_RENDERER_IPC_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/values.h"
|
||||
#include "native_mate/arguments.h"
|
||||
|
||||
|
@ -13,11 +15,11 @@ namespace atom {
|
|||
namespace api {
|
||||
|
||||
void Send(mate::Arguments* args,
|
||||
const base::string16& channel,
|
||||
const std::string& channel,
|
||||
const base::ListValue& arguments);
|
||||
|
||||
base::ListValue SendSync(mate::Arguments* args,
|
||||
const base::string16& channel,
|
||||
const std::string& channel,
|
||||
const base::ListValue& arguments);
|
||||
|
||||
void Initialize(v8::Local<v8::Object> exports,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue