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

Unified Diff: chrome_elf/chrome_elf_main.cc

Issue 1656453002: [Chrome ELF] Early browser security support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review changes, part 1. Created 4 years, 11 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
« no previous file with comments | « no previous file | chrome_elf/chrome_elf_util.h » ('j') | chrome_elf/chrome_elf_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/chrome_elf_main.cc
diff --git a/chrome_elf/chrome_elf_main.cc b/chrome_elf/chrome_elf_main.cc
index 0cd740acba283ebf053c4376cc6d30690b4f81c6..b2be6d0e02c7b1e5b065bd6466a3ce70f23d6d98 100644
--- a/chrome_elf/chrome_elf_main.cc
+++ b/chrome_elf/chrome_elf_main.cc
@@ -18,6 +18,8 @@ BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
if (reason == DLL_PROCESS_ATTACH) {
InitializeProcessType();
InitializeCrashReporting();
+ if (g_process_type == ProcessType::BROWSER_PROCESS)
+ EarlyBrowserSecurity();
__try {
blacklist::Initialize(false); // Don't force, abort if beacon is present.
« no previous file with comments | « no previous file | chrome_elf/chrome_elf_util.h » ('j') | chrome_elf/chrome_elf_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698