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 64f2a55d2e9b386578ff67a83e4937c523363c0b..5f3197b404351ad9cb1049487f78fb79a1c0c7f2 100644 |
--- a/chrome/browser/ui/views/payments/profile_list_view_controller.h |
+++ b/chrome/browser/ui/views/payments/profile_list_view_controller.h |
@@ -47,9 +47,6 @@ class ProfileListViewController : public PaymentRequestSheetController { |
PaymentRequestState* state, |
PaymentRequestDialogView* dialog); |
- // PaymentRequestSheetController: |
- std::unique_ptr<views::View> CreateView() override; |
- |
// Returns a representation of the given profile appropriate for display |
// in this context. |
virtual std::unique_ptr<views::View> GetLabel( |
@@ -69,8 +66,10 @@ class ProfileListViewController : public PaymentRequestSheetController { |
// in this context. |
virtual std::vector<autofill::AutofillProfile*> GetProfiles() = 0; |
- // Returns the string displayed at the top of the view. |
- virtual base::string16 GetHeaderString() = 0; |
+ void PopulateList(); |
+ |
+ // PaymentRequestSheetController: |
+ void FillContentView(views::View* content_view) override; |
private: |
std::unique_ptr<views::Button> CreateRow(autofill::AutofillProfile* profile); |