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

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

Issue 2724063002: [Payments] Add a Pay button in the Order summary screen (Closed)
Patch Set: addressed comments Created 3 years, 10 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/payment_request_dialog_view.h
diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view.h b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
index 53b784e84a856e8886c984e8f32311a932a3775d..8f295189694d1a2e8982640fcd76be3bbe480dfc 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
@@ -89,6 +89,10 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
// May be null.
ObserverForTest* observer_for_testing_;
+ // Used when the dialog is being closed to avoid re-entrancy into the
+ // controller_map_.
+ bool being_closed_;
+
DISALLOW_COPY_AND_ASSIGN(PaymentRequestDialogView);
};

Powered by Google App Engine
This is Rietveld 408576698