OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This is a stub for the code signing utilities on Mac and Linux. | 5 // This is a stub for the code signing utilities on Mac and Linux. |
6 // It should eventually be replaced with a real implementation. | 6 // It should eventually be replaced with a real implementation. |
7 | 7 |
8 #include "chrome/common/safe_browsing/binary_feature_extractor.h" | 8 #include "chrome/common/safe_browsing/binary_feature_extractor.h" |
9 | 9 |
10 namespace safe_browsing { | 10 namespace safe_browsing { |
11 | 11 |
12 BinaryFeatureExtractor::BinaryFeatureExtractor() {} | 12 BinaryFeatureExtractor::BinaryFeatureExtractor() {} |
13 | 13 |
14 BinaryFeatureExtractor::~BinaryFeatureExtractor() {} | 14 BinaryFeatureExtractor::~BinaryFeatureExtractor() {} |
15 | 15 |
16 void BinaryFeatureExtractor::CheckSignature( | 16 void BinaryFeatureExtractor::CheckSignature( |
17 const base::FilePath& file_path, | 17 const base::FilePath& file_path, |
18 ClientDownloadRequest_SignatureInfo* signature_info) {} | 18 ClientDownloadRequest_SignatureInfo* signature_info) {} |
19 | 19 |
20 bool BinaryFeatureExtractor::ExtractImageHeaders( | 20 bool BinaryFeatureExtractor::ExtractImageHeaders( |
21 const base::FilePath& file_path, | 21 const base::FilePath& file_path, |
22 ExtractHeadersOption options, | 22 ExtractHeadersOption options, |
23 ClientDownloadRequest_ImageHeaders* image_headers) { | 23 ClientDownloadRequest_ImageHeaders* image_headers) { |
24 return false; | 24 return false; |
25 } | 25 } |
26 | 26 |
| 27 bool BinaryFeatureExtractor::ExtractImageHeadersFromFile( |
| 28 base::File file, |
| 29 ExtractHeadersOption options, |
| 30 ClientDownloadRequest_ImageHeaders* image_headers) { |
| 31 return false; |
| 32 } |
| 33 |
27 } // namespace safe_browsing | 34 } // namespace safe_browsing |
OLD | NEW |