Chromium Code Reviews| OLD | NEW |
|---|---|
| 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: 24 | 16 // Next tag: 25 |
| 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 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 853 optional string product_version = 3; | 853 optional string product_version = 3; |
| 854 | 854 |
| 855 // The hash of the product version. Might not be set if the product version | 855 // The hash of the product version. Might not be set if the product version |
| 856 // could not be obtained from the disk. | 856 // could not be obtained from the disk. |
| 857 optional fixed32 product_version_hash = 4; | 857 optional fixed32 product_version_hash = 4; |
| 858 | 858 |
| 859 // The current state of the product. | 859 // The current state of the product. |
| 860 optional AntiVirusState product_state = 5; | 860 optional AntiVirusState product_state = 5; |
| 861 } | 861 } |
| 862 repeated AntiVirusProduct antivirus_product = 23; | 862 repeated AntiVirusProduct antivirus_product = 23; |
| 863 | |
| 864 // The time when the log was completed in seconds since the epoch. | |
| 865 optional int64 log_date = 24; | |
|
Alexei Svitkine (slow)
2016/09/22 20:51:30
So I wasn't thinking we include it in the actual l
| |
| 863 } | 866 } |
| OLD | NEW |