Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / chrome / common / safe_browsing / binary_feature_extractor_posix.cc
blobd09c6c196cc17cafa4f9e5ee8db5070f32b30bee
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.
4 //
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) {
22 return false;
24 #endif
26 } // namespace safe_browsing