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 "components/autofill/browser/contact_info.h" | 5 #include "components/autofill/core/browser/contact_info.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <ostream> | 8 #include <ostream> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "components/autofill/browser/autofill_type.h" | 15 #include "components/autofill/core/browser/autofill_type.h" |
16 #include "components/autofill/browser/field_types.h" | 16 #include "components/autofill/core/browser/field_types.h" |
17 | 17 |
18 namespace autofill { | 18 namespace autofill { |
19 | 19 |
20 static const AutofillFieldType kAutofillNameInfoTypes[] = { | 20 static const AutofillFieldType kAutofillNameInfoTypes[] = { |
21 NAME_FIRST, | 21 NAME_FIRST, |
22 NAME_MIDDLE, | 22 NAME_MIDDLE, |
23 NAME_LAST | 23 NAME_LAST |
24 }; | 24 }; |
25 | 25 |
26 static const size_t kAutofillNameInfoLength = | 26 static const size_t kAutofillNameInfoLength = |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 return base::string16(); | 193 return base::string16(); |
194 } | 194 } |
195 | 195 |
196 void CompanyInfo::SetRawInfo(AutofillFieldType type, | 196 void CompanyInfo::SetRawInfo(AutofillFieldType type, |
197 const base::string16& value) { | 197 const base::string16& value) { |
198 DCHECK_EQ(COMPANY_NAME, type); | 198 DCHECK_EQ(COMPANY_NAME, type); |
199 company_name_ = value; | 199 company_name_ = value; |
200 } | 200 } |
201 | 201 |
202 } // namespace autofill | 202 } // namespace autofill |
OLD | NEW |