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

Side by Side 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, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Stores information about the user's brower and system configuration. 5 // Stores information about the user's brower and system configuration.
6 // The system configuration fields are recorded once per client session. 6 // The system configuration fields are recorded once per client session.
7 7
8 syntax = "proto2"; 8 syntax = "proto2";
9 9
10 option optimize_for = LITE_RUNTIME; 10 option optimize_for = LITE_RUNTIME;
11 option java_outer_classname = "SystemProfileProtos"; 11 option java_outer_classname = "SystemProfileProtos";
12 option java_package = "org.chromium.components.metrics"; 12 option java_package = "org.chromium.components.metrics";
13 13
14 package metrics; 14 package metrics;
15 15
16 // Next tag: 23 16 // Next tag: 24
17 message SystemProfileProto { 17 message SystemProfileProto {
18 // The time when the client was compiled/linked, in seconds since the epoch. 18 // The time when the client was compiled/linked, in seconds since the epoch.
19 optional int64 build_timestamp = 1; 19 optional int64 build_timestamp = 1;
20 20
21 // A version number string for the application. 21 // A version number string for the application.
22 // Most commonly this is the browser version number found in a user agent 22 // Most commonly this is the browser version number found in a user agent
23 // string, and is typically a 4-tuple of numbers separated by periods. In 23 // string, and is typically a 4-tuple of numbers separated by periods. In
24 // cases where the user agent version might be ambiguous (example: Linux 64- 24 // cases where the user agent version might be ambiguous (example: Linux 64-
25 // bit build, rather than 32-bit build, or a Windows version used in some 25 // bit build, rather than 32-bit build, or a Windows version used in some
26 // special context, such as ChromeFrame running in IE), then this may include 26 // special context, such as ChromeFrame running in IE), then this may include
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 // after the recording code was implemented. 770 // after the recording code was implemented.
771 enum UmaDefaultState { 771 enum UmaDefaultState {
772 // The enable checkbox was unchecked by default. 772 // The enable checkbox was unchecked by default.
773 OPT_IN = 0; 773 OPT_IN = 0;
774 // The enable checkbox was checked by default. 774 // The enable checkbox was checked by default.
775 OPT_OUT = 1; 775 OPT_OUT = 1;
776 // Policy mandated that UMA be enaled, the user had no choice. 776 // Policy mandated that UMA be enaled, the user had no choice.
777 POLICY_FORCED_ENABLED = 2; 777 POLICY_FORCED_ENABLED = 2;
778 } 778 }
779 optional UmaDefaultState uma_default_state = 22; 779 optional UmaDefaultState uma_default_state = 22;
780
781 enum AntiVirusState {
782 // The security product software is turned on and protecting the user.
783 STATE_ON = 0;
784 // The security product software is turned off and protection is disabled.
785 STATE_OFF = 1;
786 // The security product software is in the snoozed state, temporarily off,
787 // and not actively protecting the computer.
788 STATE_SNOOZED = 2;
789 // The security product software has expired and is no longer actively
790 // protecting the computer.
791 STATE_EXPIRED = 3;
792 }
793
794 // Information about AntiVirus products installed.
795 // Next Tag: 6
796 message AntiVirusProduct {
797 // 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.
798 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.
799 // The hash of the product name.
800 optional fixed32 product_name_hash = 2;
801 // The version of the product, as read from the file information.
802 optional string product_version = 3;
803 // The hash of the product version.
804 optional fixed32 product_version_hash = 4;
805 // The current state of the product.
806 optional AntiVirusState product_state = 5;
807 }
808 repeated AntiVirusProduct antivirus_product = 23;
780 } 809 }
OLDNEW
« 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