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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Chrome Early Loading Framework (aka ChromeELF)
2
3 chrome_elf.dll is shipped in Chrome's version directory to ease updates,
4 and is loaded early in chrome.exe's lifetime. This is done by making it a
5 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.
6 http://msdn.microsoft.com/library/aa374224.aspx).
7
8 In an ideal world, this would be done by embedding an application config in
9 chrome.exe that would refer to the proper version directory via a
10 probing\privatePath attribute (http://msdn.microsoft.com/library/aa374182.aspx).
11 This would allow us to refer to dlls in the version directory without having to
12 make the version directory itself into an assembly. Unfortunately, this
13 method is only supported for Windows 7 and later.
14
15 Instead, we use "Assembly Searching Sequence"
16 (http://msdn.microsoft.com/library/aa374224.aspx) which states that private
17 assemblies can be placed in a subfolder if that subfolder has the same name as
18 the assembly itself, and treat the version directory as a private assembly.
19
20 This is the best way to have chrome.exe find chrome_elf.dll at load-time without
21 putting it beside chrome.exe in the application directory.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698