Index: chrome_elf/blacklist/blacklist.h |
diff --git a/chrome_elf/blacklist/blacklist.h b/chrome_elf/blacklist/blacklist.h |
index 9ea680cd8d80d615d62625a7a3180b52b951a71a..8a06ef06e2b786cbe80b7dc37ab1a19dfcc5768a 100644 |
--- a/chrome_elf/blacklist/blacklist.h |
+++ b/chrome_elf/blacklist/blacklist.h |
@@ -40,6 +40,10 @@ int BlacklistSize(); |
// Returns if true if the blacklist has been initialized. |
extern "C" bool IsBlacklistInitialized(); |
+// Returns the index of the DLL named |dll_name| on the blacklist, or -1 if not |
+// found. |
+extern "C" int GetBlacklistIndex(const wchar_t* dll_name); |
+ |
// Adds the given dll name to the blacklist. Returns true if the dll name is in |
// the blacklist when this returns, false on error. Note that this will copy |
// |dll_name| and will leak it on exit if the string is not subsequently removed |