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

Unified Diff: docs/startup.md

Issue 1309473002: WIP: Migrate Wiki content over to src/docs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: docs/startup.md
diff --git a/docs/startup.md b/docs/startup.md
new file mode 100644
index 0000000000000000000000000000000000000000..02cd0535f76842af02c2f7c61b3a903e20129823
--- /dev/null
+++ b/docs/startup.md
@@ -0,0 +1,12 @@
+(Just some notes as I go)
Bons 2015/08/20 20:16:50 delete
+
+## Basic Executable Structure
+ * Windows: tiny exe file loads DLL and runs it
+ * Mac: multiple exes (app mode / normal) which load the bundle (DLL) and run it
+ * Linux: one big binary, no tricks (yet)
+
+## Control Flow
+ * `main()` lives in the `exe_main` files, which live in `chrome/app/`
+ * it loads DLLs and calls into `ChromeMain`, which lives in `dll_main` files in `chrome/app/`
+ * that processes command line args and spawns subprocess types like `BrowserMain`, `RendererMain`
+ * `BrowserMain` is the majority of browser code, living in `chrome/browser/`

Powered by Google App Engine
This is Rietveld 408576698