| Index: ash/common/system/tray/ime_info.cc
|
| diff --git a/ash/common/system/tray/ime_info.cc b/ash/common/system/tray/ime_info.cc
|
| index fc1966d6e2d17808cced3fe4de0967daf3c06ba6..ca03f2a4d501679ced20a98bdaa56d24b293397e 100644
|
| --- a/ash/common/system/tray/ime_info.cc
|
| +++ b/ash/common/system/tray/ime_info.cc
|
| @@ -4,10 +4,26 @@
|
|
|
| #include "ash/common/system/tray/ime_info.h"
|
|
|
| +#include "base/strings/utf_string_conversions.h"
|
| +
|
| namespace ash {
|
|
|
| IMEInfo::IMEInfo() : selected(false), third_party(false) {}
|
|
|
| +IMEInfo::IMEInfo(bool selected,
|
| + bool third_party,
|
| + const std::string& id,
|
| + const std::string& name,
|
| + const std::string& medium_name,
|
| + const std::string& short_name) {
|
| + this->selected = selected;
|
| + this->third_party = third_party;
|
| + this->id = id;
|
| + this->name = base::UTF8ToUTF16(name);
|
| + this->medium_name = base::UTF8ToUTF16(medium_name);
|
| + this->short_name = base::UTF8ToUTF16(short_name);
|
| +}
|
| +
|
| IMEInfo::IMEInfo(const IMEInfo& other) = default;
|
|
|
| IMEInfo::~IMEInfo() {}
|
|
|