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

Unified Diff: components/payments/README

Issue 2775553004: [WebPayments] Implementing Profile filter and dedupe (Closed)
Patch Set: rebasing Created 3 years, 8 months 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: components/payments/README
diff --git a/components/payments/README b/components/payments/README
new file mode 100644
index 0000000000000000000000000000000000000000..414314a48747701f710f0bf959c2384eed2cf215
--- /dev/null
+++ b/components/payments/README
@@ -0,0 +1,35 @@
+This directory contains shared code used by multiple platforms' native
+implementations of PaymentRequest. In general, business logic (i.e., logic which
+manipulates data and is not specific to any particular platform's display of the
+data) should live here as much as possible.
+
+
+Internally, the directory uses the Layered Components model:
+
+http://www.chromium.org/developers/design-documents/layered-components-design
+
+
+In practical terms, our division between content/ and core/ is usually just a
+question of whether the contents have a dependency on Mojo:
+
+* ./core/ -- preferred whenever possible
+
+* ./content/ -- code with a Mojo dependency
+
+* ./content/android/ -- Android bindings for code in either core/ or content/
+
+
+Intended consumers of this code are organized as follows:
+
+* chrome/android/.../chrome/browser/payments/ -- Android UI Implementation
+
+* chrome/browser/ui/views/payments/ -- Desktop UI implementation
+
+* content/browser/android/payments -- Android bindings for PaymentApps
+
+* content/browser/payments/ -- PaymentApps implementation
+
+* ios/chrome/browser/payments/ -- iOS UI implementation
+
+* ios/web/payments/ and ios/web/public/payments/ -- iOS communication layer,
+ replacing Mojo
« no previous file with comments | « components/autofill/core/browser/form_group.cc ('k') | components/payments/content/payment_request_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698