| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/autofill_profile.h" | 5 #include "chrome/browser/autofill/autofill_profile.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/stl_util-inl.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/logging.h" |
| 12 #include "base/string_util.h" |
| 11 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
| 12 #include "chrome/browser/autofill/address.h" | 14 #include "chrome/browser/autofill/address.h" |
| 13 #include "chrome/browser/autofill/autofill_manager.h" | |
| 14 #include "chrome/browser/autofill/autofill_type.h" | 15 #include "chrome/browser/autofill/autofill_type.h" |
| 15 #include "chrome/browser/autofill/contact_info.h" | 16 #include "chrome/browser/autofill/contact_info.h" |
| 16 #include "chrome/browser/autofill/fax_number.h" | 17 #include "chrome/browser/autofill/fax_number.h" |
| 17 #include "chrome/browser/autofill/home_phone_number.h" | 18 #include "chrome/browser/autofill/home_phone_number.h" |
| 18 #include "chrome/common/guid.h" | 19 #include "chrome/common/guid.h" |
| 19 #include "grit/generated_resources.h" | 20 #include "grit/generated_resources.h" |
| 20 #include "ui/base/l10n/l10n_util.h" | 21 #include "ui/base/l10n/l10n_util.h" |
| 21 | 22 |
| 22 namespace { | 23 namespace { |
| 23 | 24 |
| (...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 << UTF16ToUTF8(profile.GetInfo(ADDRESS_HOME_STATE)) | 611 << UTF16ToUTF8(profile.GetInfo(ADDRESS_HOME_STATE)) |
| 611 << " " | 612 << " " |
| 612 << UTF16ToUTF8(profile.GetInfo(ADDRESS_HOME_ZIP)) | 613 << UTF16ToUTF8(profile.GetInfo(ADDRESS_HOME_ZIP)) |
| 613 << " " | 614 << " " |
| 614 << UTF16ToUTF8(profile.GetInfo(ADDRESS_HOME_COUNTRY)) | 615 << UTF16ToUTF8(profile.GetInfo(ADDRESS_HOME_COUNTRY)) |
| 615 << " " | 616 << " " |
| 616 << UTF16ToUTF8(MultiString(profile, PHONE_HOME_WHOLE_NUMBER)) | 617 << UTF16ToUTF8(MultiString(profile, PHONE_HOME_WHOLE_NUMBER)) |
| 617 << " " | 618 << " " |
| 618 << UTF16ToUTF8(MultiString(profile, PHONE_FAX_WHOLE_NUMBER)); | 619 << UTF16ToUTF8(MultiString(profile, PHONE_FAX_WHOLE_NUMBER)); |
| 619 } | 620 } |
| OLD | NEW |