• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

content/H16-Feb-2021-33,27723,650

core/H16-Feb-2021-12,2818,161

mojom/H16-Feb-2021-8773

DEPSH A D16-Feb-202182 54

OWNERSH A D16-Feb-2021181 118

READMEH A D16-Feb-20211.2 KiB3619

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