Index: chrome/browser/safe_browsing/module_integrity_verifier.h |
diff --git a/chrome/browser/safe_browsing/module_integrity_verifier.h b/chrome/browser/safe_browsing/module_integrity_verifier.h |
index aa98f5a921ac9f3269994df339dca8321a9a916f..cc3483a7b50963ee90ef2922d9e77e9d7eadd7a7 100644 |
--- a/chrome/browser/safe_browsing/module_integrity_verifier.h |
+++ b/chrome/browser/safe_browsing/module_integrity_verifier.h |
@@ -7,6 +7,8 @@ |
#include <stdint.h> |
+#include <set> |
+ |
namespace base { |
namespace win { |
class PEImage; |
@@ -32,12 +34,11 @@ bool GetCodeAddrsAndSize(const base::win::PEImage& mem_peimage, |
uint8_t** disk_code_addr, |
uint32_t* code_size); |
-// Helper to count the number of bytes differing between two pointers. |
-int CountBytesDiffInPtr(uintptr_t num_a, uintptr_t num_b); |
- |
// Examines the code section of the given module in memory and on disk, looking |
-// for unexpected differences. |
-ModuleState VerifyModule(const wchar_t* module_name); |
+// for unexpected differences. Returns a ModuleState and and a set of the |
+// possibly modified exports. |
+ModuleState VerifyModule(const wchar_t* module_name, |
+ std::set<std::string>* modified_exports); |
} // namespace safe_browsing |