OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromeos/ime/input_method_descriptor.h" | 5 #include "chromeos/ime/input_method_descriptor.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 language_code_(language_code), | 24 language_code_(language_code), |
25 options_page_url_(options_page_url) { | 25 options_page_url_(options_page_url) { |
26 } | 26 } |
27 | 27 |
28 InputMethodDescriptor::InputMethodDescriptor() { | 28 InputMethodDescriptor::InputMethodDescriptor() { |
29 } | 29 } |
30 | 30 |
31 InputMethodDescriptor::~InputMethodDescriptor() { | 31 InputMethodDescriptor::~InputMethodDescriptor() { |
32 } | 32 } |
33 | 33 |
34 bool InputMethodDescriptor::operator==( | |
35 const InputMethodDescriptor& other) const { | |
36 return id() == other.id(); | |
37 } | |
38 | |
39 bool InputMethodDescriptor::operator!=( | |
40 const InputMethodDescriptor& other) const { | |
41 return !(*this == other); | |
42 } | |
43 | |
44 } // namespace input_method | 34 } // namespace input_method |
45 } // namespace chromeos | 35 } // namespace chromeos |
OLD | NEW |