OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/core/browser/suggestion.h" | 5 #include "components/autofill/core/browser/suggestion.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "components/autofill/core/browser/autofill_profile.h" | |
9 #include "components/autofill/core/browser/credit_card.h" | |
10 | 8 |
11 namespace autofill { | 9 namespace autofill { |
12 | 10 |
13 Suggestion::Suggestion() | 11 Suggestion::Suggestion() |
14 : frontend_id(0), | 12 : frontend_id(0), |
15 match(PREFIX_MATCH) { | 13 match(PREFIX_MATCH) { |
16 } | 14 } |
17 | 15 |
18 Suggestion::Suggestion(const Suggestion& other) | 16 Suggestion::Suggestion(const Suggestion& other) |
19 : backend_id(other.backend_id), | 17 : backend_id(other.backend_id), |
(...skipping 18 matching lines...) Expand all Loading... |
38 value(base::UTF8ToUTF16(v)), | 36 value(base::UTF8ToUTF16(v)), |
39 label(base::UTF8ToUTF16(l)), | 37 label(base::UTF8ToUTF16(l)), |
40 icon(base::UTF8ToUTF16(i)), | 38 icon(base::UTF8ToUTF16(i)), |
41 match(PREFIX_MATCH) { | 39 match(PREFIX_MATCH) { |
42 } | 40 } |
43 | 41 |
44 Suggestion::~Suggestion() { | 42 Suggestion::~Suggestion() { |
45 } | 43 } |
46 | 44 |
47 } // namespace autofill | 45 } // namespace autofill |
OLD | NEW |