| Index: chrome/browser/chromeos/input_method/input_method_property.cc
|
| diff --git a/chrome/browser/chromeos/input_method/input_method_property.cc b/chrome/browser/chromeos/input_method/input_method_property.cc
|
| index 8580eba7b8fa90a07dff78368f079f2b548d21ff..caab50edbbdd223648e1d5d3772d40e588afb7bc 100644
|
| --- a/chrome/browser/chromeos/input_method/input_method_property.cc
|
| +++ b/chrome/browser/chromeos/input_method/input_method_property.cc
|
| @@ -33,6 +33,18 @@ InputMethodProperty::InputMethodProperty()
|
| InputMethodProperty::~InputMethodProperty() {
|
| }
|
|
|
| +bool InputMethodProperty::operator==(const InputMethodProperty& other) const {
|
| + return key == other.key &&
|
| + label == other.label &&
|
| + is_selection_item == other.is_selection_item &&
|
| + is_selection_item_checked == other.is_selection_item_checked &&
|
| + selection_item_id == other.selection_item_id;
|
| +}
|
| +
|
| +bool InputMethodProperty::operator!=(const InputMethodProperty& other) const {
|
| + return !(*this == other);
|
| +}
|
| +
|
| std::string InputMethodProperty::ToString() const {
|
| std::stringstream stream;
|
| stream << "key=" << key
|
|
|