| Index: chrome/browser/ui/views/payments/profile_list_view_controller.h
|
| diff --git a/chrome/browser/ui/views/payments/profile_list_view_controller.h b/chrome/browser/ui/views/payments/profile_list_view_controller.h
|
| index 1f1705a84e2641f579a1930820eefe3149b84413..4f7ce65b1e053467c15e5f34ae952000f471cef7 100644
|
| --- a/chrome/browser/ui/views/payments/profile_list_view_controller.h
|
| +++ b/chrome/browser/ui/views/payments/profile_list_view_controller.h
|
| @@ -67,6 +67,9 @@ class ProfileListViewController : public PaymentRequestSheetController {
|
|
|
| virtual bool IsValidProfile(const autofill::AutofillProfile& profile) = 0;
|
|
|
| + // Whether |profile| should be displayed in an enabled state and selectable.
|
| + bool IsEnabled(autofill::AutofillProfile* profile);
|
| +
|
| protected:
|
| // Does not take ownership of the arguments, which should outlive this object.
|
| ProfileListViewController(PaymentRequestSpec* spec,
|
| @@ -79,6 +82,10 @@ class ProfileListViewController : public PaymentRequestSheetController {
|
|
|
| virtual DialogViewID GetDialogViewId() = 0;
|
|
|
| + // Subclasses may choose to provide a header view to go on top of the item
|
| + // list view.
|
| + virtual std::unique_ptr<views::View> CreateHeaderView();
|
| +
|
| void PopulateList();
|
|
|
| // PaymentRequestSheetController:
|
|
|