| 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 "chrome/browser/autofill/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/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/browser/autofill/autofill_country.h" | 10 #include "components/autofill/browser/autofill_country.h" |
| 11 | 11 |
| 12 namespace autofill { | 12 namespace autofill { |
| 13 namespace wallet { | 13 namespace wallet { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 Address* CreateAddressInternal(const base::DictionaryValue& dictionary, | 17 Address* CreateAddressInternal(const base::DictionaryValue& dictionary, |
| 18 const std::string& object_id) { | 18 const std::string& object_id) { |
| 19 std::string country_name_code; | 19 std::string country_name_code; |
| 20 if (!dictionary.GetString("postal_address.country_name_code", | 20 if (!dictionary.GetString("postal_address.country_name_code", |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 phone_number_ == other.phone_number_ && | 251 phone_number_ == other.phone_number_ && |
| 252 object_id_ == other.object_id_; | 252 object_id_ == other.object_id_; |
| 253 } | 253 } |
| 254 | 254 |
| 255 bool Address::operator!=(const Address& other) const { | 255 bool Address::operator!=(const Address& other) const { |
| 256 return !(*this == other); | 256 return !(*this == other); |
| 257 } | 257 } |
| 258 | 258 |
| 259 } // namespace wallet | 259 } // namespace wallet |
| 260 } // namespace autofill | 260 } // namespace autofill |
| OLD | NEW |