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

Unified Diff: chrome_elf/README

Issue 53793002: Initial implementation of Chrome Early Loading Framework (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move InitChromeElf to after the fast notify Created 7 years, 1 month 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: chrome_elf/README
diff --git a/chrome_elf/README b/chrome_elf/README
new file mode 100644
index 0000000000000000000000000000000000000000..9815c4870487f9c3d8c7f727c6f1c5cade9e83f3
--- /dev/null
+++ b/chrome_elf/README
@@ -0,0 +1,21 @@
+Chrome Early Loading Framework (aka ChromeELF)
+
+chrome_elf.dll is shipped in Chrome's version directory to ease updates,
+and is loaded early in chrome.exe's lifetime. This is done by making it a
+private assembly in a subfolder of chrome.exe's folder (see
gab 2013/11/11 20:11:38 Technically I think the assembly is the manifest,
Cait (Slow) 2013/11/12 16:33:54 Done.
+http://msdn.microsoft.com/library/aa374224.aspx).
+
+In an ideal world, this would be done by embedding an application config in
+chrome.exe that would refer to the proper version directory via a
+probing\privatePath attribute (http://msdn.microsoft.com/library/aa374182.aspx).
+This would allow us to refer to dlls in the version directory without having to
+make the version directory itself into an assembly. Unfortunately, this
+method is only supported for Windows 7 and later.
+
+Instead, we use "Assembly Searching Sequence"
+(http://msdn.microsoft.com/library/aa374224.aspx) which states that private
+assemblies can be placed in a subfolder if that subfolder has the same name as
+the assembly itself, and treat the version directory as a private assembly.
+
+This is the best way to have chrome.exe find chrome_elf.dll at load-time without
+putting it beside chrome.exe in the application directory.

Powered by Google App Engine
This is Rietveld 408576698