Chromium Code Reviews| Index: chrome/browser/win/enumerate_modules_model.cc |
| diff --git a/chrome/browser/win/enumerate_modules_model.cc b/chrome/browser/win/enumerate_modules_model.cc |
| index 7f02a70cfb02ea6d980dd32bd92e322879ebdeed..eeebc495905d18b1a80e1d02c80cac0bd69156e3 100644 |
| --- a/chrome/browser/win/enumerate_modules_model.cc |
| +++ b/chrome/browser/win/enumerate_modules_model.cc |
| @@ -269,6 +269,12 @@ void ModuleEnumerator::ScanImplModule(size_t index) { |
| void ModuleEnumerator::ScanImplFinish() { |
| // TODO(chrisha): Annotate any modules that are suspicious/bad. |
| + for (auto& module : *enumerated_modules_) { |
| + if (module.name == L"chrome.dll") { |
| + module.status = ModuleStatus::CONFIRMED_BAD; |
| + module.recommended_action = RecommendedAction::UNINSTALL; |
|
chrisha
2017/05/02 21:28:25
This is debugging code?
Patrick Monette
2017/05/29 22:04:56
Yes. Removed.
|
| + } |
| + } |
| ReportThirdPartyMetrics(); |