| 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 // 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_BROWSER_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_ | 8 #ifndef CHROME_COMMON_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_ |
| 9 #define CHROME_BROWSER_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_ | 9 #define CHROME_COMMON_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_ |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class FilePath; | 15 class FilePath; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace safe_browsing { | 18 namespace safe_browsing { |
| 19 class ClientDownloadRequest_Digests; | 19 class ClientDownloadRequest_Digests; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 protected: | 52 protected: |
| 53 friend class base::RefCountedThreadSafe<BinaryFeatureExtractor>; | 53 friend class base::RefCountedThreadSafe<BinaryFeatureExtractor>; |
| 54 virtual ~BinaryFeatureExtractor(); | 54 virtual ~BinaryFeatureExtractor(); |
| 55 | 55 |
| 56 private: | 56 private: |
| 57 DISALLOW_COPY_AND_ASSIGN(BinaryFeatureExtractor); | 57 DISALLOW_COPY_AND_ASSIGN(BinaryFeatureExtractor); |
| 58 }; | 58 }; |
| 59 } // namespace safe_browsing | 59 } // namespace safe_browsing |
| 60 | 60 |
| 61 #endif // CHROME_BROWSER_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_ | 61 #endif // CHROME_COMMON_SAFE_BROWSING_BINARY_FEATURE_EXTRACTOR_H_ |
| OLD | NEW |