| 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 #include "chrome/browser/safe_browsing/binary_integrity_analyzer.h" | 5 #include "chrome/browser/safe_browsing/incident_reporting/binary_integrity_analy
zer.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "version.h" // NOLINT | 10 #include "version.h" // NOLINT |
| 11 | 11 |
| 12 namespace safe_browsing { | 12 namespace safe_browsing { |
| 13 | 13 |
| 14 std::vector<base::FilePath> GetCriticalBinariesPath() { | 14 std::vector<base::FilePath> GetCriticalBinariesPath() { |
| 15 static const base::FilePath::CharType* const kUnversionedFiles[] = { | 15 static const base::FilePath::CharType* const kUnversionedFiles[] = { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 37 base::FilePath version_dir( | 37 base::FilePath version_dir( |
| 38 chrome_exe_dir.AppendASCII(CHROME_VERSION_STRING)); | 38 chrome_exe_dir.AppendASCII(CHROME_VERSION_STRING)); |
| 39 for (size_t i = 0; i < arraysize(kVersionedFiles); ++i) { | 39 for (size_t i = 0; i < arraysize(kVersionedFiles); ++i) { |
| 40 critical_binaries.push_back(version_dir.Append(kVersionedFiles[i])); | 40 critical_binaries.push_back(version_dir.Append(kVersionedFiles[i])); |
| 41 } | 41 } |
| 42 | 42 |
| 43 return critical_binaries; | 43 return critical_binaries; |
| 44 } | 44 } |
| 45 | 45 |
| 46 } // namespace safe_browsing | 46 } // namespace safe_browsing |
| OLD | NEW |