summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/safe_browsing/binary_feature_extractor_posix.cc
blob: 03bf9a1494f99b33d7654a9830242a7f43ee8a53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This is a stub for the code signing utilities on Mac and Linux.
// It should eventually be replaced with a real implementation.

#include <stddef.h>
#include <stdint.h>

#include "build/build_config.h"
#include "chrome/common/safe_browsing/binary_feature_extractor.h"

namespace safe_browsing {

void BinaryFeatureExtractor::CheckSignature(
    const base::FilePath& file_path,
    ClientDownloadRequest_SignatureInfo* signature_info) {}

#if !defined(OS_MACOSX)
bool BinaryFeatureExtractor::ExtractImageFeaturesFromData(
    const uint8_t* data, size_t data_size,
    ExtractHeadersOption options,
    ClientDownloadRequest_ImageHeaders* image_headers,
    google::protobuf::RepeatedPtrField<std::string>* signed_data) {
  return false;
}
#endif

}  // namespace safe_browsing