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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 // also makes the clock not count time the computer is suspended. | 439 // also makes the clock not count time the computer is suspended. |
440 // This field was added for M-35. | 440 // This field was added for M-35. |
441 optional int64 uptime_sec = 23; | 441 optional int64 uptime_sec = 23; |
442 | 442 |
443 // Page loads along with renderer crashes and hangs, since page load count | 443 // Page loads along with renderer crashes and hangs, since page load count |
444 // roughly corresponds to usage. | 444 // roughly corresponds to usage. |
445 optional int32 page_load_count = 2; | 445 optional int32 page_load_count = 2; |
446 optional int32 renderer_crash_count = 3; | 446 optional int32 renderer_crash_count = 3; |
447 optional int32 renderer_hang_count = 4; | 447 optional int32 renderer_hang_count = 4; |
448 | 448 |
449 // Number of renderer crashes that were for extensions. | 449 // Number of renderer crashes that were for extensions. These crashes are |
450 // TODO(isherman): Figure out whether this is also counted in | 450 // not counted in renderer_crash_count. |
451 // |renderer_crash_count|. | |
452 optional int32 extension_renderer_crash_count = 5; | 451 optional int32 extension_renderer_crash_count = 5; |
453 | 452 |
454 // Number of non-renderer child process crashes. | 453 // Number of non-renderer child process crashes. |
455 optional int32 child_process_crash_count = 6; | 454 optional int32 child_process_crash_count = 6; |
456 | 455 |
457 // Number of times the browser has crashed while logged in as the "other | 456 // Number of times the browser has crashed while logged in as the "other |
458 // user" (guest) account. | 457 // user" (guest) account. |
459 // Logged on ChromeOS only. | 458 // Logged on ChromeOS only. |
460 optional int32 other_user_crash_count = 7; | 459 optional int32 other_user_crash_count = 7; |
461 | 460 |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 // then HAS_OFFSTORE is reported. This should be kept in sync with the | 726 // then HAS_OFFSTORE is reported. This should be kept in sync with the |
728 // corresponding enum in chrome/browser/metrics/extensions_metrics_provider.cc | 727 // corresponding enum in chrome/browser/metrics/extensions_metrics_provider.cc |
729 enum ExtensionsState { | 728 enum ExtensionsState { |
730 NO_EXTENSIONS = 0; | 729 NO_EXTENSIONS = 0; |
731 NO_OFFSTORE_VERIFIED = 1; | 730 NO_OFFSTORE_VERIFIED = 1; |
732 NO_OFFSTORE_UNVERIFIED = 2; | 731 NO_OFFSTORE_UNVERIFIED = 2; |
733 HAS_OFFSTORE = 3; | 732 HAS_OFFSTORE = 3; |
734 } | 733 } |
735 optional ExtensionsState offstore_extensions_state = 19; | 734 optional ExtensionsState offstore_extensions_state = 19; |
736 } | 735 } |
OLD | NEW |