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

Unified Diff: trunk/src/chrome_elf/chrome_elf_main.cc

Issue 107443008: Revert 241548 "Chrome browser process DLL blacklist." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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 | « trunk/src/chrome_elf/chrome_elf_main.h ('k') | trunk/src/chrome_elf/version_assembly_manifest_action.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome_elf/chrome_elf_main.cc
===================================================================
--- trunk/src/chrome_elf/chrome_elf_main.cc (revision 241567)
+++ trunk/src/chrome_elf/chrome_elf_main.cc (working copy)
@@ -6,21 +6,15 @@
#include "chrome_elf/chrome_elf_main.h"
-#include "chrome_elf/blacklist/blacklist.h"
#include "chrome_elf/ntdll_cache.h"
-void SignalChromeElf() {
- blacklist::ClearBeacon();
+void InitChromeElf() {
+ // This method is a no-op which may be called to force a load-time dependency
+ // on chrome_elf.dll.
}
BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
- if (reason == DLL_PROCESS_ATTACH) {
+ if (reason == DLL_PROCESS_ATTACH)
InitCache();
- blacklist::Initialize(false); // Don't force, abort if beacon is present.
-
- // TODO(csharp): Move additions to the DLL blacklist to a sane place.
- // blacklist::AddDllToBlacklist(L"foo.dll");
- }
-
return TRUE;
}
« no previous file with comments | « trunk/src/chrome_elf/chrome_elf_main.h ('k') | trunk/src/chrome_elf/version_assembly_manifest_action.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698