| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // Information on the user's operating system. | 73 // Information on the user's operating system. |
| 74 message OS { | 74 message OS { |
| 75 // The user's operating system. | 75 // The user's operating system. |
| 76 optional string name = 1; | 76 optional string name = 1; |
| 77 | 77 |
| 78 // The version of the OS. The meaning of this field is OS-dependent. | 78 // The version of the OS. The meaning of this field is OS-dependent. |
| 79 optional string version = 2; | 79 optional string version = 2; |
| 80 | 80 |
| 81 // The fingerprint of the build. This field is used only on Android. | 81 // The fingerprint of the build. This field is used only on Android. |
| 82 optional string fingerprint = 3; | 82 optional string fingerprint = 3; |
| 83 |
| 84 // Whether the version of iOS appears to be "jailbroken". This field is |
| 85 // used only on iOS. Chrome for iOS detects whether device contains a |
| 86 // DynamicLibraries/ directory. It's a necessary but insufficient indicator |
| 87 // of whether the operating system has been jailbroken. |
| 88 optional bool is_jailbroken = 4; |
| 83 } | 89 } |
| 84 optional OS os = 5; | 90 optional OS os = 5; |
| 85 | 91 |
| 86 // Next tag for Hardware: 16 | 92 // Next tag for Hardware: 16 |
| 87 // Information on the user's hardware. | 93 // Information on the user's hardware. |
| 88 message Hardware { | 94 message Hardware { |
| 89 // The CPU architecture (x86, PowerPC, x86_64, ...) | 95 // The CPU architecture (x86, PowerPC, x86_64, ...) |
| 90 optional string cpu_architecture = 1; | 96 optional string cpu_architecture = 1; |
| 91 | 97 |
| 92 // The amount of RAM present on the system, in megabytes. | 98 // The amount of RAM present on the system, in megabytes. |
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 // then HAS_OFFSTORE is reported. This should be kept in sync with the | 719 // then HAS_OFFSTORE is reported. This should be kept in sync with the |
| 714 // corresponding enum in chrome/browser/metrics/extensions_metrics_provider.cc | 720 // corresponding enum in chrome/browser/metrics/extensions_metrics_provider.cc |
| 715 enum ExtensionsState { | 721 enum ExtensionsState { |
| 716 NO_EXTENSIONS = 0; | 722 NO_EXTENSIONS = 0; |
| 717 NO_OFFSTORE_VERIFIED = 1; | 723 NO_OFFSTORE_VERIFIED = 1; |
| 718 NO_OFFSTORE_UNVERIFIED = 2; | 724 NO_OFFSTORE_UNVERIFIED = 2; |
| 719 HAS_OFFSTORE = 3; | 725 HAS_OFFSTORE = 3; |
| 720 } | 726 } |
| 721 optional ExtensionsState offstore_extensions_state = 19; | 727 optional ExtensionsState offstore_extensions_state = 19; |
| 722 } | 728 } |
| OLD | NEW |