Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
content/ | H | 16-Feb-2021 | - | 33,277 | 23,650 | |
core/ | H | 16-Feb-2021 | - | 12,281 | 8,161 | |
mojom/ | H | 16-Feb-2021 | - | 87 | 73 | |
DEPS | H A D | 16-Feb-2021 | 82 | 5 | 4 | |
OWNERS | H A D | 16-Feb-2021 | 181 | 11 | 8 | |
README | H A D | 16-Feb-2021 | 1.2 KiB | 36 | 19 |
README
1This directory contains shared code used by multiple platforms' native 2implementations of PaymentRequest. In general, business logic (i.e., logic which 3manipulates data and is not specific to any particular platform's display of the 4data) should live here as much as possible. 5 6 7Internally, the directory uses the Layered Components model: 8 9http://www.chromium.org/developers/design-documents/layered-components-design 10 11 12In practical terms, our division between content/ and core/ is usually just a 13question of whether the contents have a dependency on Mojo: 14 15* ./core/ -- preferred whenever possible 16 17* ./content/ -- code with a Mojo dependency 18 19* ./content/android/ -- Android bindings for code in either core/ or content/ 20 21 22Intended consumers of this code are organized as follows: 23 24* chrome/android/.../chrome/browser/payments/ -- Android UI Implementation 25 26* chrome/browser/ui/views/payments/ -- Desktop UI implementation 27 28* content/browser/android/payments -- Android bindings for PaymentApps 29 30* content/browser/payments/ -- PaymentApps implementation 31 32* ios/chrome/browser/payments/ -- iOS UI implementation 33 34* ios/web/payments/ and ios/web/public/payments/ -- iOS communication layer, 35 replacing Mojo 36