Index: chrome_elf/blacklist/blacklist.h |
diff --git a/chrome_elf/blacklist/blacklist.h b/chrome_elf/blacklist/blacklist.h |
index 08ca572c273376a27b17a8c744f23399d104304a..17a511d487712c2d3259a16aa66abe37f2214d82 100644 |
--- a/chrome_elf/blacklist/blacklist.h |
+++ b/chrome_elf/blacklist/blacklist.h |
@@ -13,9 +13,6 @@ const int kTroublesomeDllsMaxCount = 64; |
// The DLL blacklist. |
extern const wchar_t* g_troublesome_dlls[kTroublesomeDllsMaxCount]; |
-// Cursor to the current last element in the blacklist. |
-extern int g_troublesome_dlls_cur_index; |
- |
// The registry path of the blacklist beacon. |
extern const wchar_t kRegistryBeaconPath[]; |
@@ -47,6 +44,9 @@ bool LeaveSetupBeacon(); |
// Returns true if the beacon was successfully set to BLACKLIST_ENABLED. |
bool ResetBeacon(); |
+// Return the size of the current blacklist. |
+int BlacklistSize(); |
+ |
// 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 |