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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp

Issue 2578323006: Parsing new Android Pay Payment Request API member: minGooglePlayServicesVersion (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
Index: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
index 0e262109eded96a0be467037d0f77d7f64d48c0d..38f2da568e63c11bf014dd345bfc76a32e22bad4 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
@@ -252,6 +252,8 @@ void maybeSetAndroidPayMethodData(const ScriptValue& input,
output->merchant_name = androidPay.merchantName();
output->merchant_id = androidPay.merchantId();
+ output->min_google_play_services_version =
+ androidPay.minGooglePlayServicesVersion();
if (androidPay.hasAllowedCardNetworks()) {
for (const String& allowedCardNetwork : androidPay.allowedCardNetworks()) {

Powered by Google App Engine
This is Rietveld 408576698