diff options
Diffstat (limited to 'chrome/browser/safe_browsing/binary_feature_extractor.h')
-rw-r--r-- | chrome/browser/safe_browsing/binary_feature_extractor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/safe_browsing/binary_feature_extractor.h b/chrome/browser/safe_browsing/binary_feature_extractor.h index bbf9b0d..a06a242 100644 --- a/chrome/browser/safe_browsing/binary_feature_extractor.h +++ b/chrome/browser/safe_browsing/binary_feature_extractor.h @@ -16,6 +16,7 @@ class FilePath; } namespace safe_browsing { +class ClientDownloadRequest_ImageHeaders; class ClientDownloadRequest_SignatureInfo; class BinaryFeatureExtractor @@ -29,6 +30,11 @@ class BinaryFeatureExtractor const base::FilePath& file_path, ClientDownloadRequest_SignatureInfo* signature_info); + // Populates |image_headers| with the PE image headers of |file_path|. + virtual void ExtractImageHeaders( + const base::FilePath& file_path, + ClientDownloadRequest_ImageHeaders* image_headers); + protected: friend class base::RefCountedThreadSafe<BinaryFeatureExtractor>; virtual ~BinaryFeatureExtractor(); |