Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3553)

Unified Diff: chrome/browser/metrics/antivirus_metrics_provider_win.h

Issue 2578453002: Add support to detect unregistered AV products in system profile. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/metrics/antivirus_metrics_provider_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/antivirus_metrics_provider_win.h
diff --git a/chrome/browser/metrics/antivirus_metrics_provider_win.h b/chrome/browser/metrics/antivirus_metrics_provider_win.h
index 13a6b4968eb7c06ffa6c2f36dec19a20a0955be7..0bf86852e9c5bf28e4a0f36f110eecd39837b1ef 100644
--- a/chrome/browser/metrics/antivirus_metrics_provider_win.h
+++ b/chrome/browser/metrics/antivirus_metrics_provider_win.h
@@ -72,10 +72,17 @@ class AntiVirusMetricsProvider : public metrics::MetricsProvider {
// interface is only available on Windows 8 and above.
static ResultCode FillAntiVirusProductsFromWSC(
std::vector<AvProduct>* products);
+
// Query WMI ROOT\SecurityCenter2 for installed AV products. This interface is
// only available on Windows Vista and above.
static ResultCode FillAntiVirusProductsFromWMI(
std::vector<AvProduct>* products);
+
+ // Query local machine configuration for other products that might not be
+ // registered in WMI or Security Center and add them to the product vector.
+ static void MaybeAddUnregisteredAntiVirusProducts(
rkaplow 2016/12/14 20:51:33 nit - would be consistant in naming between fill a
+ std::vector<AvProduct>* products);
+
static std::vector<AvProduct> GetAntiVirusProductsOnFileThread();
// Called when metrics are done being gathered from the FILE thread.
« no previous file with comments | « no previous file | chrome/browser/metrics/antivirus_metrics_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698