Implement BinaryFeatureExtractor on Mac.
commit0f5e3e29e3add15ded349b718eaea7aced773d1c
authorrsesek <rsesek@chromium.org>
Mon, 15 Jun 2015 22:28:02 +0000 (15 15:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 15 Jun 2015 22:29:43 +0000 (15 22:29 +0000)
treef9e4bc77cae0c5a32d05b3a1f475ba6c1b81a6a7
parentffbacd6a66de389df384c6cc3527e5958bbc01f6
Implement BinaryFeatureExtractor on Mac.

This also refactors the cross-platform interface to have a
ExtractImageFeaturesFromData method, which is how the Windows implementation
was structured.

BUG=496898,464083

Review URL: https://codereview.chromium.org/1177983005

Cr-Commit-Position: refs/heads/master@{#334479}
chrome/chrome_common.gypi
chrome/common/safe_browsing/binary_feature_extractor.cc
chrome/common/safe_browsing/binary_feature_extractor.h
chrome/common/safe_browsing/binary_feature_extractor_mac.cc [new file with mode: 0644]
chrome/common/safe_browsing/binary_feature_extractor_posix.cc
chrome/common/safe_browsing/binary_feature_extractor_win.cc
chrome/common/safe_browsing/csd.proto