Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: chromeos/ime/input_method_descriptor.cc

Issue 14123005: Remove operator function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing comments Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chromeos/ime/input_method_descriptor.h ('k') | chromeos/ime/input_method_descriptor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698