| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // This protobuffer is intended to store reports from Chrome users of | 5 // This protobuffer is intended to store reports from Chrome users of |
| 6 // certificate errors. A report will be sent from Chrome when it gets | 6 // certificate errors. A report will be sent from Chrome when it gets |
| 7 // e.g. a certificate for google.com that chains up to a root CA not expected by | 7 // e.g. a certificate for google.com that chains up to a root CA not expected by |
| 8 // Chrome for that origin, such as DigiNotar (compromised in July 2011), or | 8 // Chrome for that origin, such as DigiNotar (compromised in July 2011), or |
| 9 // other pinning errors such as a blacklisted cert in the chain, or | 9 // other pinning errors such as a blacklisted cert in the chain, or |
| 10 // (when opted in) other certificate validation errors like an expired | 10 // (when opted in) other certificate validation errors like an expired |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // error, not the library). | 141 // error, not the library). |
| 142 optional bool is_issued_by_known_root = 9; | 142 optional bool is_issued_by_known_root = 9; |
| 143 | 143 |
| 144 // Information about features that were enabled or disabled for the | 144 // Information about features that were enabled or disabled for the |
| 145 // user that might affect certificate validation. | 145 // user that might affect certificate validation. |
| 146 optional CertLoggerFeaturesInfo features_info = 10; | 146 optional CertLoggerFeaturesInfo features_info = 10; |
| 147 | 147 |
| 148 // False when the report is attempted to be uploaded for the first time. True | 148 // False when the report is attempted to be uploaded for the first time. True |
| 149 // in all other uploads. | 149 // in all other uploads. |
| 150 optional bool is_retry_upload = 11; | 150 optional bool is_retry_upload = 11; |
| 151 |
| 152 enum ChromeChannel { |
| 153 CHROME_CHANNEL_NONE = 0; |
| 154 CHROME_CHANNEL_UNKNOWN = 1; |
| 155 CHROME_CHANNEL_DEV = 2; |
| 156 CHROME_CHANNEL_CANARY = 3; |
| 157 CHROME_CHANNEL_BETA = 4; |
| 158 CHROME_CHANNEL_STABLE = 5; |
| 159 }; |
| 160 |
| 161 // The Chrome channel that this error occurred on. |
| 162 optional ChromeChannel chrome_channel = 12; |
| 151 }; | 163 }; |
| OLD | NEW |