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

Unified Diff: chrome/browser/payments/payment_request_impl.cc

Issue 2568933002: [WebPayments] Desktop: Adding validation and binding checks (Closed)
Patch Set: Created 4 years 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 | « chrome/browser/payments/payment_request_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/payments/payment_request_impl.cc
diff --git a/chrome/browser/payments/payment_request_impl.cc b/chrome/browser/payments/payment_request_impl.cc
index 18ce94c9943265223a28fe8fa233fa974c7a5863..743ab19e26bf7dad196d9ced28889fdbc322523d 100644
--- a/chrome/browser/payments/payment_request_impl.cc
+++ b/chrome/browser/payments/payment_request_impl.cc
@@ -62,6 +62,9 @@ void PaymentRequestImpl::Init(
payments::mojom::PaymentOptionsPtr options) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
client_ = std::move(client);
+}
+
+void PaymentRequestImpl::Show() {
tmartino 2016/12/12 19:35:30 It seems like this needs to have a check to ensure
please use gerrit instead 2016/12/12 20:46:48 ------------------------------ Init(): Validate |
Mathieu 2017/01/05 15:53:54 Note that while some of this code has landed in an
chrome::ShowPaymentRequestDialog(this);
}
« no previous file with comments | « chrome/browser/payments/payment_request_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698