Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: chrome/browser/extensions/api/autofill_private/autofill_util.h

Issue 1825263002: [Extensions] Convert APIs to use movable types [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/autofill_private/autofill_util.h
diff --git a/chrome/browser/extensions/api/autofill_private/autofill_util.h b/chrome/browser/extensions/api/autofill_private/autofill_util.h
index 5d47e6501409572c6ba29644d4ee1b9de4d9b13d..751818046bdbfb5a3b49d29e68bc1193ec1ce5f2 100644
--- a/chrome/browser/extensions/api/autofill_private/autofill_util.h
+++ b/chrome/browser/extensions/api/autofill_private/autofill_util.h
@@ -22,18 +22,16 @@ namespace extensions {
namespace autofill_util {
-using AddressEntryList = std::vector<linked_ptr<
- extensions::api::autofill_private::AddressEntry> >;
-using CreditCardEntryList = std::vector<linked_ptr<
- extensions::api::autofill_private::CreditCardEntry> >;
+using AddressEntryList = std::vector<api::autofill_private::AddressEntry>;
+using CreditCardEntryList = std::vector<api::autofill_private::CreditCardEntry>;
// Uses |personal_data| to generate a list of up-to-date AddressEntry objects.
-scoped_ptr<AddressEntryList> GenerateAddressList(
+AddressEntryList GenerateAddressList(
const autofill::PersonalDataManager& personal_data);
// Uses |personal_data| to generate a list of up-to-date CreditCardEntry
// objects.
-scoped_ptr<CreditCardEntryList> GenerateCreditCardList(
+CreditCardEntryList GenerateCreditCardList(
const autofill::PersonalDataManager& personal_data);
} // namespace autofill_util

Powered by Google App Engine
This is Rietveld 408576698