Chromium Code Reviews
DescriptionCreating PaymentOptionsProvider, a Mojo-less interface for providing
PaymentOptions, suitable for use in components/core. This will allow
forthcoming profile filtering and deduplication options (and anything
else which depends on these values) to be written cross-platform, and
reduces the bleeding of Mojo into views logic that doesn't really need
to know about it.
Usage details:
- Desktop: This CL changes PaymentRequestSpec to implement this
interface. It removes the options() accessor, which is no longer
necessary.
- iOS: the iOS version of payment_request.h already has a PaymentOptions
class which corresponds to, and can be trivially modified to
implement, this interface.
- Android: A small utility class implementing this interface is
forthcoming. The needed data is present as accessible members of
PaymentRequestImpl.
See also crrev.com/2775553004 for further context. That CL will be
updated to pass PaymentOptionsProvider instead of PaymentRequestSpec.
BUG=706117
Review-Url: https://codereview.chromium.org/2774233005
Cr-Commit-Position: refs/heads/master@{#460639}
Committed: https://chromium.googlesource.com/chromium/src/+/5f0912b87c3814ad7a4891f428e8a5b84d477e69
Patch Set 1 #Patch Set 2 : default case for compile #
Total comments: 6
Patch Set 3 : rouslan comments #Messages
Total messages: 28 (21 generated)
|