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 "components/autofill/content/browser/wallet/wallet_address.h" | 5 #include "components/autofill/content/browser/wallet/wallet_address.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "base/strings/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/core/browser/autofill_country.h" |
12 #include "components/autofill/browser/autofill_profile.h" | 12 #include "components/autofill/core/browser/autofill_profile.h" |
13 #include "components/autofill/browser/state_names.h" | 13 #include "components/autofill/core/browser/state_names.h" |
14 | 14 |
15 namespace autofill { | 15 namespace autofill { |
16 namespace wallet { | 16 namespace wallet { |
17 | 17 |
18 // Server specified type for address with complete details. | 18 // Server specified type for address with complete details. |
19 const char kFullAddress[] = "FULL"; | 19 const char kFullAddress[] = "FULL"; |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
23 Address* CreateAddressInternal(const base::DictionaryValue& dictionary, | 23 Address* CreateAddressInternal(const base::DictionaryValue& dictionary, |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 bool Address::operator==(const Address& other) const { | 312 bool Address::operator==(const Address& other) const { |
313 return object_id_ == other.object_id_ && EqualsIgnoreID(other); | 313 return object_id_ == other.object_id_ && EqualsIgnoreID(other); |
314 } | 314 } |
315 | 315 |
316 bool Address::operator!=(const Address& other) const { | 316 bool Address::operator!=(const Address& other) const { |
317 return !(*this == other); | 317 return !(*this == other); |
318 } | 318 } |
319 | 319 |
320 } // namespace wallet | 320 } // namespace wallet |
321 } // namespace autofill | 321 } // namespace autofill |
OLD | NEW |