Chromium Code Reviews| Index: ios/components/README |
| diff --git a/ios/components/README b/ios/components/README |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8d81c853b9b3616e6933cf0176eb0d8065e10889 |
| --- /dev/null |
| +++ b/ios/components/README |
| @@ -0,0 +1,12 @@ |
| +This directory is for features that are intended for reuse. For example, code |
| +that is shared between multiple embedders of ios/web like ios/web_view and |
| +ios/chrome. This means that components must not depend on either ios/web_view or |
|
Eugene But (OOO till 7-30)
2017/05/25 22:05:21
Can we/Should we enforce "must not depend" part in
michaeldo
2017/05/26 07:24:43
I added a - dep on them in DEPS with a note to see
|
| +ios/chrome. |
| + |
| +Code which can be shared across Chrome on all platforms should go in |
| +//components (which also supports iOS specific sources). |
| + |
| +Code in a component should be placed in a namespace corresponding to |
| +the name of the component; e.g. for a component living in |
| +//components/foo, code in that component should be in the foo:: |
| +namespace. |