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

Unified Diff: chrome/browser/ui/views/payments/profile_list_view_controller.h

Issue 2847503002: [WebPayments] Show labels on incomplete profiles (Closed)
Patch Set: ios namespace Created 3 years, 8 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/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 7e1af22e9233a1340406a004277d6d40ec1db101..b9fec775cbeddafdf5104b61a7e0b522628cd863 100644
--- a/chrome/browser/ui/views/payments/profile_list_view_controller.h
+++ b/chrome/browser/ui/views/payments/profile_list_view_controller.h
@@ -65,6 +65,8 @@ class ProfileListViewController : public PaymentRequestSheetController {
virtual autofill::AutofillProfile* GetSelectedProfile() = 0;
+ virtual bool ValidateProfile(autofill::AutofillProfile* profile) = 0;
Mathieu 2017/04/27 18:34:01 can this be const ref?
Mathieu 2017/04/27 18:34:01 If it doesn't have side-effects, perhaps IsValidPr
tmartino 2017/04/28 17:10:06 Done to both
+
protected:
// Does not take ownership of the arguments, which should outlive this object.
ProfileListViewController(PaymentRequestSpec* spec,

Powered by Google App Engine
This is Rietveld 408576698