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 void BinaryFeatureExtractor::CheckSignature(
13 const base::FilePath
& file_path
,
14 ClientDownloadRequest_SignatureInfo
* signature_info
) {}
16 #if !defined(OS_MACOSX)
17 bool BinaryFeatureExtractor::ExtractImageFeaturesFromData(
18 const uint8_t* data
, size_t data_size
,
19 ExtractHeadersOption options
,
20 ClientDownloadRequest_ImageHeaders
* image_headers
,
21 google::protobuf::RepeatedPtrField
<std::string
>* signed_data
) {
26 } // namespace safe_browsing