OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "components/autofill/browser/wallet/wallet_address.h" | 5 #include "components/autofill/browser/wallet/wallet_address.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "components/autofill/browser/autofill_country.h" | 11 #include "components/autofill/browser/autofill_country.h" |
12 #include "components/autofill/browser/autofill_profile.h" | 12 #include "components/autofill/browser/autofill_profile.h" |
13 | 13 |
14 namespace autofill { | 14 namespace autofill { |
15 namespace wallet { | 15 namespace wallet { |
16 | 16 |
17 // Server specified type for address with complete details. | 17 // Server specified type for address with complete details. |
18 const char kFullAddress[] = "FULL"; | 18 const char kFullAddress[] = "FULL"; |
19 | 19 |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 bool Address::operator==(const Address& other) const { | 306 bool Address::operator==(const Address& other) const { |
307 return object_id_ == other.object_id_ && EqualsIgnoreID(other); | 307 return object_id_ == other.object_id_ && EqualsIgnoreID(other); |
308 } | 308 } |
309 | 309 |
310 bool Address::operator!=(const Address& other) const { | 310 bool Address::operator!=(const Address& other) const { |
311 return !(*this == other); | 311 return !(*this == other); |
312 } | 312 } |
313 | 313 |
314 } // namespace wallet | 314 } // namespace wallet |
315 } // namespace autofill | 315 } // namespace autofill |
OLD | NEW |