1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This is a stub for the code signing utilities on Mac and Linux.
6 // It should eventually be replaced with a real implementation.
8 #include "chrome/common/safe_browsing/binary_feature_extractor.h"
10 namespace safe_browsing
{
12 BinaryFeatureExtractor::BinaryFeatureExtractor() {}
14 BinaryFeatureExtractor::~BinaryFeatureExtractor() {}
16 void BinaryFeatureExtractor::CheckSignature(
17 const base::FilePath
& file_path
,
18 ClientDownloadRequest_SignatureInfo
* signature_info
) {}
20 bool BinaryFeatureExtractor::ExtractImageFeatures(
21 const base::FilePath
& file_path
,
22 ExtractHeadersOption options
,
23 ClientDownloadRequest_ImageHeaders
* image_headers
,
24 google::protobuf::RepeatedPtrField
<std::string
>* signed_data
) {
28 bool BinaryFeatureExtractor::ExtractImageFeaturesFromFile(
30 ExtractHeadersOption options
,
31 ClientDownloadRequest_ImageHeaders
* image_headers
,
32 google::protobuf::RepeatedPtrField
<std::string
>* signed_data
) {
36 } // namespace safe_browsing