| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/incident_reporting/module_load_analyzer.h
" | 5 #include "chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h
" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/file_version_info.h" | 10 #include "base/file_version_info.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/i18n/case_conversion.h" | 12 #include "base/i18n/case_conversion.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
| 15 #include "base/metrics/histogram_macros.h" | 15 #include "base/metrics/histogram_macros.h" |
| 16 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
| 17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
| 18 #include "base/threading/sequenced_worker_pool.h" | |
| 19 #include "chrome/browser/install_verification/win/module_info.h" | 18 #include "chrome/browser/install_verification/win/module_info.h" |
| 20 #include "chrome/browser/install_verification/win/module_verification_common.h" | 19 #include "chrome/browser/install_verification/win/module_verification_common.h" |
| 21 #include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h" | 20 #include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h" |
| 22 #include "chrome/browser/safe_browsing/incident_reporting/suspicious_module_inci
dent.h" | 21 #include "chrome/browser/safe_browsing/incident_reporting/suspicious_module_inci
dent.h" |
| 23 #include "chrome/browser/safe_browsing/path_sanitizer.h" | 22 #include "chrome/browser/safe_browsing/path_sanitizer.h" |
| 24 #include "chrome/common/safe_browsing/binary_feature_extractor.h" | 23 #include "chrome/common/safe_browsing/binary_feature_extractor.h" |
| 25 #include "chrome/common/safe_browsing/csd.pb.h" | 24 #include "chrome/common/safe_browsing/csd.pb.h" |
| 26 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
| 27 | 26 |
| 28 #if defined(SAFE_BROWSING_DB_LOCAL) | 27 #if defined(SAFE_BROWSING_DB_LOCAL) |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 // PostTaskAndReply doesn't work here because we're in a sequenced blocking | 132 // PostTaskAndReply doesn't work here because we're in a sequenced blocking |
| 134 // thread pool. | 133 // thread pool. |
| 135 content::BrowserThread::PostTask( | 134 content::BrowserThread::PostTask( |
| 136 content::BrowserThread::IO, FROM_HERE, | 135 content::BrowserThread::IO, FROM_HERE, |
| 137 base::Bind(&CheckModuleWhitelistOnIOThread, database_manager, | 136 base::Bind(&CheckModuleWhitelistOnIOThread, database_manager, |
| 138 base::Passed(std::move(incident_receiver)), | 137 base::Passed(std::move(incident_receiver)), |
| 139 base::Passed(std::move(module_info_set)))); | 138 base::Passed(std::move(module_info_set)))); |
| 140 } | 139 } |
| 141 | 140 |
| 142 } // namespace safe_browsing | 141 } // namespace safe_browsing |
| OLD | NEW |