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

Side by Side Diff: components/autofill/core/browser/autofill_profile.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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 (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/autofill_profile.h" 5 #include "components/autofill/core/browser/autofill_profile.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <map> 9 #include <map>
10 #include <ostream> 10 #include <ostream>
11 #include <set> 11 #include <set>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/guid.h" 14 #include "base/guid.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "components/autofill/browser/address.h" 18 #include "components/autofill/core/browser/address.h"
19 #include "components/autofill/browser/autofill_country.h" 19 #include "components/autofill/core/browser/autofill_country.h"
20 #include "components/autofill/browser/autofill_field.h" 20 #include "components/autofill/core/browser/autofill_field.h"
21 #include "components/autofill/browser/autofill_type.h" 21 #include "components/autofill/core/browser/autofill_type.h"
22 #include "components/autofill/browser/contact_info.h" 22 #include "components/autofill/core/browser/contact_info.h"
23 #include "components/autofill/browser/phone_number.h" 23 #include "components/autofill/core/browser/phone_number.h"
24 #include "components/autofill/browser/phone_number_i18n.h" 24 #include "components/autofill/core/browser/phone_number_i18n.h"
25 #include "components/autofill/core/common/form_field_data.h" 25 #include "components/autofill/core/common/form_field_data.h"
26 #include "grit/component_strings.h" 26 #include "grit/component_strings.h"
27 #include "ui/base/l10n/l10n_util.h" 27 #include "ui/base/l10n/l10n_util.h"
28 28
29 namespace autofill { 29 namespace autofill {
30 namespace { 30 namespace {
31 31
32 // Like |AutofillType::GetEquivalentFieldType()|, but also returns |NAME_FULL| 32 // Like |AutofillType::GetEquivalentFieldType()|, but also returns |NAME_FULL|
33 // for first, middle, and last name field types. 33 // for first, middle, and last name field types.
34 AutofillFieldType GetEquivalentFieldTypeCollapsingNames( 34 AutofillFieldType GetEquivalentFieldTypeCollapsingNames(
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 << UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_STATE)) 864 << UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_STATE))
865 << " " 865 << " "
866 << UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_ZIP)) 866 << UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_ZIP))
867 << " " 867 << " "
868 << UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)) 868 << UTF16ToUTF8(profile.GetRawInfo(ADDRESS_HOME_COUNTRY))
869 << " " 869 << " "
870 << UTF16ToUTF8(MultiString(profile, PHONE_HOME_WHOLE_NUMBER)); 870 << UTF16ToUTF8(MultiString(profile, PHONE_HOME_WHOLE_NUMBER));
871 } 871 }
872 872
873 } // namespace autofill 873 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_profile.h ('k') | components/autofill/core/browser/autofill_profile_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698