refactor: use std::string instead of base::string16 for IPC channel names (#14286)

This commit is contained in:
Milan Burda 2018-08-24 17:30:37 +02:00 committed by Charles Kerr
parent 605a4570c1
commit e6e3ccfc50
12 changed files with 45 additions and 24 deletions

View file

@ -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;