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
|
@ -28,7 +28,7 @@ RenderFrame* GetCurrentRenderFrame() {
|
|||
}
|
||||
|
||||
void Send(mate::Arguments* args,
|
||||
const base::string16& channel,
|
||||
const std::string& channel,
|
||||
const base::ListValue& arguments) {
|
||||
RenderFrame* render_frame = GetCurrentRenderFrame();
|
||||
if (render_frame == nullptr)
|
||||
|
@ -42,7 +42,7 @@ void Send(mate::Arguments* args,
|
|||
}
|
||||
|
||||
base::ListValue SendSync(mate::Arguments* args,
|
||||
const base::string16& channel,
|
||||
const std::string& channel,
|
||||
const base::ListValue& arguments) {
|
||||
base::ListValue result;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue