OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/win/enumerate_modules_model.h" | 5 #include "chrome/browser/win/enumerate_modules_model.h" |
6 | 6 |
7 #include <softpub.h> | 7 #include <softpub.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 #include <tlhelp32.h> | 10 #include <tlhelp32.h> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "base/debug/leak_annotations.h" | 21 #include "base/debug/leak_annotations.h" |
22 #include "base/environment.h" | 22 #include "base/environment.h" |
23 #include "base/file_version_info.h" | 23 #include "base/file_version_info.h" |
24 #include "base/i18n/case_conversion.h" | 24 #include "base/i18n/case_conversion.h" |
25 #include "base/macros.h" | 25 #include "base/macros.h" |
26 #include "base/metrics/histogram_macros.h" | 26 #include "base/metrics/histogram_macros.h" |
27 #include "base/scoped_generic.h" | 27 #include "base/scoped_generic.h" |
28 #include "base/strings/string_number_conversions.h" | 28 #include "base/strings/string_number_conversions.h" |
29 #include "base/strings/string_util.h" | 29 #include "base/strings/string_util.h" |
30 #include "base/strings/utf_string_conversions.h" | 30 #include "base/strings/utf_string_conversions.h" |
| 31 #include "base/threading/sequenced_worker_pool.h" |
31 #include "base/time/time.h" | 32 #include "base/time/time.h" |
32 #include "base/values.h" | 33 #include "base/values.h" |
33 #include "base/version.h" | 34 #include "base/version.h" |
34 #include "base/win/registry.h" | 35 #include "base/win/registry.h" |
35 #include "base/win/scoped_handle.h" | 36 #include "base/win/scoped_handle.h" |
36 #include "base/win/windows_version.h" | 37 #include "base/win/windows_version.h" |
37 #include "chrome/browser/net/service_providers_win.h" | 38 #include "chrome/browser/net/service_providers_win.h" |
38 #include "chrome/common/chrome_constants.h" | 39 #include "chrome/common/chrome_constants.h" |
39 #include "chrome/common/crash_keys.h" | 40 #include "chrome/common/crash_keys.h" |
40 #include "chrome/grit/generated_resources.h" | 41 #include "chrome/grit/generated_resources.h" |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 | 771 |
771 UMA_HISTOGRAM_COUNTS_100("Conflicts.SuspectedBadModules", | 772 UMA_HISTOGRAM_COUNTS_100("Conflicts.SuspectedBadModules", |
772 suspected_bad_modules_detected_); | 773 suspected_bad_modules_detected_); |
773 UMA_HISTOGRAM_COUNTS_100("Conflicts.ConfirmedBadModules", | 774 UMA_HISTOGRAM_COUNTS_100("Conflicts.ConfirmedBadModules", |
774 confirmed_bad_modules_detected_); | 775 confirmed_bad_modules_detected_); |
775 | 776 |
776 // Forward the callback to any registered observers. | 777 // Forward the callback to any registered observers. |
777 for (Observer& observer : observers_) | 778 for (Observer& observer : observers_) |
778 observer.OnScanCompleted(); | 779 observer.OnScanCompleted(); |
779 } | 780 } |
OLD | NEW |