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
3 // found in the LICENSE file.
5 #include "components/autofill/core/browser/suggestion.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"
13 Suggestion::Suggestion()
17 Suggestion::Suggestion(const Suggestion
& other
)
18 : backend_id(other
.backend_id
),
19 frontend_id(other
.frontend_id
),
25 Suggestion::Suggestion(const base::string16
& v
)
30 Suggestion::Suggestion(const std::string
& v
,
35 value(base::UTF8ToUTF16(v
)),
36 label(base::UTF8ToUTF16(l
)),
37 icon(base::UTF8ToUTF16(i
)) {
40 Suggestion::~Suggestion() {
43 } // namespace autofill