| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 #include "chrome/browser/safe_browsing/signature_evaluator_mac.h" | 5 #include "chrome/browser/safe_browsing/signature_evaluator_mac.h" |
| 6 | 6 |
| 7 #include <CoreFoundation/CoreFoundation.h> | 7 #include <CoreFoundation/CoreFoundation.h> |
| 8 #include <Foundation/Foundation.h> | 8 #include <Foundation/Foundation.h> |
| 9 #include <Security/Security.h> | 9 #include <Security/Security.h> |
| 10 #include <stddef.h> |
| 11 #include <stdint.h> |
| 10 #include <sys/xattr.h> | 12 #include <sys/xattr.h> |
| 11 | 13 |
| 12 #include "base/mac/foundation_util.h" | 14 #include "base/mac/foundation_util.h" |
| 13 #include "base/mac/mac_util.h" | 15 #include "base/mac/mac_util.h" |
| 14 #include "base/mac/scoped_cftyperef.h" | 16 #include "base/mac/scoped_cftyperef.h" |
| 15 #include "base/mac/scoped_nsobject.h" | 17 #include "base/mac/scoped_nsobject.h" |
| 16 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
| 17 #include "base/strings/sys_string_conversions.h" | 19 #include "base/strings/sys_string_conversions.h" |
| 18 #include "chrome/common/safe_browsing/binary_feature_extractor.h" | 20 #include "chrome/common/safe_browsing/binary_feature_extractor.h" |
| 19 #include "chrome/common/safe_browsing/csd.pb.h" | 21 #include "chrome/common/safe_browsing/csd.pb.h" |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 incident->contained_file(0).relative_path(), | 251 incident->contained_file(0).relative_path(), |
| 250 base::CompareCase::INSENSITIVE_ASCII)) { | 252 base::CompareCase::INSENSITIVE_ASCII)) { |
| 251 return true; | 253 return true; |
| 252 } | 254 } |
| 253 } | 255 } |
| 254 | 256 |
| 255 return false; | 257 return false; |
| 256 } | 258 } |
| 257 | 259 |
| 258 } // namespace safe_browsing | 260 } // namespace safe_browsing |
| OLD | NEW |