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()
18 Suggestion::Suggestion(const Suggestion
& other
)
19 : backend_id(other
.backend_id
),
20 frontend_id(other
.frontend_id
),
27 Suggestion::Suggestion(const base::string16
& v
)
33 Suggestion::Suggestion(const std::string
& v
,
38 value(base::UTF8ToUTF16(v
)),
39 label(base::UTF8ToUTF16(l
)),
40 icon(base::UTF8ToUTF16(i
)),
44 Suggestion::~Suggestion() {
47 } // namespace autofill