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

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

Issue 2841643002: When a new Payments address is created from the editor, use it as the chosen address (Closed)
Patch Set: And yet another small goof fix... :-( 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/payment_request_dialog_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
diff --git a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
index 3744c8b3d5a70a65bd112d95732815473a6255b0..ccc555f1069297254ab3f10f930535d5ac1f8edc 100644
--- a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
+++ b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
@@ -29,10 +29,11 @@ class PaymentRequestDialogView;
// Credit card editor screen of the Payment Request flow.
class CreditCardEditorViewController : public EditorViewController {
public:
- // Does not take ownership of the arguments, which should outlive this object.
- // Additionally, |credit_card| could be nullptr if we are adding a card. Else,
- // it's a valid pointer to a card that needs to be updated, and which will
- // outlive this controller.
+ // Does not take ownership of the arguments (except for the |on_edited| and
+ // |on_added| callbacks), which should outlive this object. Additionally,
+ // |credit_card| could be nullptr if we are adding a card. Else, it's a valid
+ // pointer to a card that needs to be updated, and which will outlive this
+ // controller.
CreditCardEditorViewController(
PaymentRequestSpec* spec,
PaymentRequestState* state,
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/payment_request_dialog_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698