summaryrefslogtreecommitdiffstats
path: root/components/README
diff options
context:
space:
mode:
authorblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-11 11:47:17 +0000
committerblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-11 11:47:17 +0000
commitf53217880e61893524d0a0517f5fcd04c894d10d (patch)
treee3f2f372c8306885c886528cd23ef17348bfa06e /components/README
parentf7ce242831827659deb330fcd02007c924ac4a47 (diff)
downloadchromium_src-f53217880e61893524d0a0517f5fcd04c894d10d.zip
chromium_src-f53217880e61893524d0a0517f5fcd04c894d10d.tar.gz
chromium_src-f53217880e61893524d0a0517f5fcd04c894d10d.tar.bz2
Updated //components/README to account for layered components.
R=joi@chromium.org Review URL: https://codereview.chromium.org/194673003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/README')
-rw-r--r--components/README14
1 files changed, 10 insertions, 4 deletions
diff --git a/components/README b/components/README
index b20ca49..7201320 100644
--- a/components/README
+++ b/components/README
@@ -1,7 +1,13 @@
-This directory is for components that have the Content Module as the
-uppermost layer they depend on. They may depend only on the Content
-API (content/public) and on lower layers (e.g. base/, net/, ipc/
-etc.).
+This directory is for features that are intended for reuse across multiple
+embedders (e.g., Android WebView and Chrome).
+
+By default, subdirectories have the Content Module as the uppermost layer they
+depend on, i.e., they may depend only on the Content API (content/public) and
+on lower layers (e.g. base/, net/, ipc/ etc.). Individual subdirectories may
+further restrict their dependencies, e.g., a component that is used by Chrome
+for iOS (which does not use the content API) will either disallow usage of
+content/public or be in the form of a layered component
+(http://www.chromium.org/developers/design-documents/layered-components-design).
Components that have bits of code that need to live in different
processes (e.g. some code in the browser process, some in the renderer