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; |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 433 optional bool is_disabled = 4; | 433 optional bool is_disabled = 4; |
| 434 | 434 |
| 435 // True if the plugin is PPAPI. | 435 // True if the plugin is PPAPI. |
| 436 optional bool is_pepper = 5; | 436 optional bool is_pepper = 5; |
| 437 } | 437 } |
| 438 repeated Plugin plugin = 7; | 438 repeated Plugin plugin = 7; |
| 439 | 439 |
| 440 // Figures that can be used to generate application stability metrics. | 440 // Figures that can be used to generate application stability metrics. |
| 441 // All values are counts of events since the last time that these | 441 // All values are counts of events since the last time that these |
| 442 // values were reported. | 442 // values were reported. |
| 443 // Next tag: 28 | 443 // Next tag: 31 |
| 444 message Stability { | 444 message Stability { |
| 445 // Total amount of time that the program was running, in seconds, | 445 // Total amount of time that the program was running, in seconds, |
| 446 // since the last time a log was recorded, as measured using a client-side | 446 // since the last time a log was recorded, as measured using a client-side |
| 447 // clock implemented via TimeTicks, which guarantees that it is monotonic | 447 // clock implemented via TimeTicks, which guarantees that it is monotonic |
| 448 // and does not jump if the user changes their clock. The TimeTicks | 448 // and does not jump if the user changes their clock. The TimeTicks |
| 449 // implementation also makes the clock not count time the computer is | 449 // implementation also makes the clock not count time the computer is |
| 450 // suspended. | 450 // suspended. |
| 451 optional int64 incremental_uptime_sec = 1; | 451 optional int64 incremental_uptime_sec = 1; |
| 452 | 452 |
| 453 // Total amount of time that the program was running, in seconds, | 453 // Total amount of time that the program was running, in seconds, |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 542 optional int32 instance_count = 3; | 542 optional int32 instance_count = 3; |
| 543 | 543 |
| 544 // The number of times this plugin process crashed. | 544 // The number of times this plugin process crashed. |
| 545 // This value will be <= |launch_count|. | 545 // This value will be <= |launch_count|. |
| 546 optional int32 crash_count = 4; | 546 optional int32 crash_count = 4; |
| 547 | 547 |
| 548 // The number of times this plugin could not be loaded. | 548 // The number of times this plugin could not be loaded. |
| 549 optional int32 loading_error_count = 5; | 549 optional int32 loading_error_count = 5; |
| 550 } | 550 } |
| 551 repeated PluginStability plugin_stability = 22; | 551 repeated PluginStability plugin_stability = 22; |
| 552 | |
| 553 // The number of times a stability log's upload was deferred. | |
| 554 optional int32 deferred_count = 28; | |
| 555 | |
| 556 // The number of times stability data was discarded. Note that this count | |
| 557 // is not version specific and instead accumulates across versions. | |
| 558 optional int32 discard_count = 29; | |
| 559 | |
| 560 // The number of times the serialized system profile's version did not match | |
| 561 // the pref version. | |
| 562 optional int32 version_mismatch_count = 30; | |
|
Alexei Svitkine (slow)
2016/08/30 21:25:59
I'd actually prefer these be added as histograms.
manzagop (departed)
2016/09/01 21:26:56
Done.
| |
| 552 } | 563 } |
| 553 optional Stability stability = 8; | 564 optional Stability stability = 8; |
| 554 | 565 |
| 555 // Description of a field trial or experiment that the user is currently | 566 // Description of a field trial or experiment that the user is currently |
| 556 // enrolled in. | 567 // enrolled in. |
| 557 // All metrics reported in this upload can potentially be influenced by the | 568 // All metrics reported in this upload can potentially be influenced by the |
| 558 // field trial. | 569 // field trial. |
| 559 message FieldTrial { | 570 message FieldTrial { |
| 560 // The name of the field trial, as a 32-bit identifier. | 571 // The name of the field trial, as a 32-bit identifier. |
| 561 // Currently, the identifier is a hash of the field trial's name. | 572 // Currently, the identifier is a hash of the field trial's name. |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 811 | 822 |
| 812 // The hash of the product version. Might not be set if the product version | 823 // The hash of the product version. Might not be set if the product version |
| 813 // could not be obtained from the disk. | 824 // could not be obtained from the disk. |
| 814 optional fixed32 product_version_hash = 4; | 825 optional fixed32 product_version_hash = 4; |
| 815 | 826 |
| 816 // The current state of the product. | 827 // The current state of the product. |
| 817 optional AntiVirusState product_state = 5; | 828 optional AntiVirusState product_state = 5; |
| 818 } | 829 } |
| 819 repeated AntiVirusProduct antivirus_product = 23; | 830 repeated AntiVirusProduct antivirus_product = 23; |
| 820 } | 831 } |
| OLD | NEW |