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

Side by Side Diff: chrome/common/safe_browsing/binary_feature_extractor.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 // Utility functions to extract file features for malicious binary detection. 5 // Utility functions to extract file features for malicious binary detection.
6 // Each platform has its own implementation of this class. 6 // Each platform has its own implementation of this class.
7 7
8 #ifndef CHROME_COMMON_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_ 8 #ifndef CHROME_COMMON_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_
9 #define CHROME_COMMON_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_ 9 #define CHROME_COMMON_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_
10 10
11 #include <stddef.h>
12 #include <stdint.h>
13
11 #include <string> 14 #include <string>
12 15
13 #include "base/basictypes.h"
14 #include "base/files/file.h" 16 #include "base/files/file.h"
17 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
16 #include "third_party/protobuf/src/google/protobuf/repeated_field.h" 19 #include "third_party/protobuf/src/google/protobuf/repeated_field.h"
17 20
18 namespace base { 21 namespace base {
19 class FilePath; 22 class FilePath;
20 } 23 }
21 24
22 namespace safe_browsing { 25 namespace safe_browsing {
23 class ClientDownloadRequest_Digests; 26 class ClientDownloadRequest_Digests;
24 class ClientDownloadRequest_ImageHeaders; 27 class ClientDownloadRequest_ImageHeaders;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 protected: 78 protected:
76 friend class base::RefCountedThreadSafe<BinaryFeatureExtractor>; 79 friend class base::RefCountedThreadSafe<BinaryFeatureExtractor>;
77 virtual ~BinaryFeatureExtractor(); 80 virtual ~BinaryFeatureExtractor();
78 81
79 private: 82 private:
80 DISALLOW_COPY_AND_ASSIGN(BinaryFeatureExtractor); 83 DISALLOW_COPY_AND_ASSIGN(BinaryFeatureExtractor);
81 }; 84 };
82 } // namespace safe_browsing 85 } // namespace safe_browsing
83 86
84 #endif // CHROME_COMMON_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_ 87 #endif // CHROME_COMMON_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_
OLDNEW
« no previous file with comments | « chrome/common/resource_usage_reporter_type_converters.cc ('k') | chrome/common/safe_browsing/binary_feature_extractor_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698