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

Unified Diff: components/metrics/proto/system_profile.proto

Issue 2009773007: Add AntiVirus information to the system profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hash the product name and version Created 4 years, 7 months 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
Index: components/metrics/proto/system_profile.proto
diff --git a/components/metrics/proto/system_profile.proto b/components/metrics/proto/system_profile.proto
index e2b5c19ac15692ce164c5bfe848f3f496a78cb5f..b6d87534e55cc27445d3378411b31788bb2062a0 100644
--- a/components/metrics/proto/system_profile.proto
+++ b/components/metrics/proto/system_profile.proto
@@ -13,7 +13,7 @@ option java_package = "org.chromium.components.metrics";
package metrics;
-// Next tag: 23
+// Next tag: 24
message SystemProfileProto {
// The time when the client was compiled/linked, in seconds since the epoch.
optional int64 build_timestamp = 1;
@@ -777,4 +777,33 @@ message SystemProfileProto {
POLICY_FORCED_ENABLED = 2;
}
optional UmaDefaultState uma_default_state = 22;
+
+ enum AntiVirusState {
+ // The security product software is turned on and protecting the user.
+ STATE_ON = 0;
+ // The security product software is turned off and protection is disabled.
+ STATE_OFF = 1;
+ // The security product software is in the snoozed state, temporarily off,
+ // and not actively protecting the computer.
+ STATE_SNOOZED = 2;
+ // The security product software has expired and is no longer actively
+ // protecting the computer.
+ STATE_EXPIRED = 3;
+ }
+
+ // Information about AntiVirus products installed.
+ // Next Tag: 6
+ message AntiVirusProduct {
+ // The product name e.g. "System Center Endpoint Protection".
Alexei Svitkine (slow) 2016/06/01 20:42:35 Expand comment to mention that it might not be rec
Will Harris 2016/06/02 20:36:27 Done.
+ optional string product_name = 1;
Alexei Svitkine (slow) 2016/06/01 20:42:35 Nit: Add empty lines between the fields.
Will Harris 2016/06/02 20:36:27 Done.
+ // The hash of the product name.
+ optional fixed32 product_name_hash = 2;
+ // The version of the product, as read from the file information.
+ optional string product_version = 3;
+ // The hash of the product version.
+ optional fixed32 product_version_hash = 4;
+ // The current state of the product.
+ optional AntiVirusState product_state = 5;
+ }
+ repeated AntiVirusProduct antivirus_product = 23;
}
« chrome/browser/metrics/antivirus_metrics_provider_win.cc ('K') | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698