Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: chrome/common/safe_browsing/binary_feature_extractor_posix.cc

Issue 999003003: Include attributes of zipped binaries in ClientDownloadRequests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zip2
Patch Set: fix ordering of SandboxedZipAnalyzer methods Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698