Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / base / ime / infolist_entry.cc
blob7423f73abb7da718252d1330c644926e0fe51a4a
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/base/ime/infolist_entry.h"
7 namespace ui {
9 InfolistEntry::InfolistEntry(const base::string16& title,
10 const base::string16& body)
11 : title(title), body(body), highlighted(false) {}
13 bool InfolistEntry::operator==(const InfolistEntry& other) const {
14 return title == other.title && body == other.body &&
15 highlighted == other.highlighted;
18 bool InfolistEntry::operator!=(const InfolistEntry& other) const {
19 return !(*this == other);
22 } // namespace ui