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

Unified Diff: ios/components/README

Issue 2908613002: Move common functionality of IOSChromeIOThread to ios/components. (Closed)
Patch Set: Remove bug todo. Created 3 years, 7 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: 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.

Powered by Google App Engine
This is Rietveld 408576698