From 03e3925b8017a2bc5cbef29e109ef2ba4e634329 Mon Sep 17 00:00:00 2001 From: "grt@chromium.org" Date: Tue, 25 Mar 2014 23:26:42 +0000 Subject: Include PE image headers in client download pings. BUG=none TBR=sky@chromium.org Review URL: https://codereview.chromium.org/205523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259392 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/safe_browsing/binary_feature_extractor.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chrome/browser/safe_browsing/binary_feature_extractor.h') 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; virtual ~BinaryFeatureExtractor(); -- cgit v1.1