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/browser/autofill_data_model.h" | 5 #include "components/autofill/browser/autofill_data_model.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "components/autofill/browser/autofill_country.h" | 12 #include "components/autofill/browser/autofill_country.h" |
13 #include "components/autofill/browser/autofill_field.h" | 13 #include "components/autofill/browser/autofill_field.h" |
14 #include "components/autofill/browser/state_names.h" | 14 #include "components/autofill/browser/state_names.h" |
15 #include "components/autofill/browser/validation.h" | 15 #include "components/autofill/browser/validation.h" |
16 #include "components/autofill/common/form_field_data.h" | 16 #include "components/autofill/core/common/form_field_data.h" |
17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
18 #include "grit/component_resources.h" | 18 #include "grit/component_resources.h" |
19 #include "ui/base/l10n/l10n_util.h" | 19 #include "ui/base/l10n/l10n_util.h" |
20 | 20 |
21 namespace autofill { | 21 namespace autofill { |
22 namespace { | 22 namespace { |
23 | 23 |
24 const char* const kMonthsAbbreviated[] = { | 24 const char* const kMonthsAbbreviated[] = { |
25 NULL, // Padding so index 1 = month 1 = January. | 25 NULL, // Padding so index 1 = month 1 = January. |
26 "Jan", "Feb", "Mar", "Apr", "May", "Jun", | 26 "Jan", "Feb", "Mar", "Apr", "May", "Jun", |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 const std::string& app_locale, | 177 const std::string& app_locale, |
178 FormFieldData* field_data) const { | 178 FormFieldData* field_data) const { |
179 return false; | 179 return false; |
180 } | 180 } |
181 | 181 |
182 bool AutofillDataModel::IsVerified() const { | 182 bool AutofillDataModel::IsVerified() const { |
183 return !origin_.empty() && !GURL(origin_).is_valid(); | 183 return !origin_.empty() && !GURL(origin_).is_valid(); |
184 } | 184 } |
185 | 185 |
186 } // namespace autofill | 186 } // namespace autofill |
OLD | NEW |