| 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..14ea93029e9b20723e50bad192181aea7c99a6c4 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,10 @@ class ProfileListViewController : public PaymentRequestSheetController {
|
|
|
| virtual bool IsValidProfile(const autofill::AutofillProfile& profile) = 0;
|
|
|
| + // Whether |profile| should be displayed in a disabled state and not
|
| + // selectable.
|
| + bool IsDisabled(autofill::AutofillProfile* profile);
|
| +
|
| protected:
|
| // Does not take ownership of the arguments, which should outlive this object.
|
| ProfileListViewController(PaymentRequestSpec* spec,
|
| @@ -79,6 +83,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:
|
|
|