| 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 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 package certificate_reporting; | 22 package certificate_reporting; |
| 23 | 23 |
| 24 // Protocol types | 24 // Protocol types |
| 25 | 25 |
| 26 message CertLoggerInterstitialInfo { | 26 message CertLoggerInterstitialInfo { |
| 27 // The different reasons that an SSL warning interstitial could be shown to | 27 // The different reasons that an SSL warning interstitial could be shown to |
| 28 // a user. | 28 // a user. |
| 29 enum InterstitialReason { | 29 enum InterstitialReason { |
| 30 UNKNOWN_INTERSTITIAL_REASON = 0; | 30 UNKNOWN_INTERSTITIAL_REASON = 0; |
| 31 // A standard SSL interstitial | 31 // A standard SSL interstitial. |
| 32 INTERSTITIAL_SSL = 1; | 32 INTERSTITIAL_SSL = 1; |
| 33 // An interstitial alerting the user that they are in a captive portal | 33 // An interstitial alerting the user that they are in a captive portal. |
| 34 INTERSTITIAL_CAPTIVE_PORTAL = 2; | 34 INTERSTITIAL_CAPTIVE_PORTAL = 2; |
| 35 // An interstitial telling the user to update their system clock | 35 // An interstitial telling the user to update their system clock. |
| 36 INTERSTITIAL_CLOCK = 3; | 36 INTERSTITIAL_CLOCK = 3; |
| 37 // An interstitial telling the user to remove the Superfish software from |
| 38 // their system. |
| 39 INTERSTITIAL_SUPERFISH = 4; |
| 37 } | 40 } |
| 38 | 41 |
| 39 // The type of interstitial that was shown | 42 // The type of interstitial that was shown |
| 40 optional InterstitialReason interstitial_reason = 1; | 43 optional InterstitialReason interstitial_reason = 1; |
| 41 // True if the user clicked through to the offending website | 44 // True if the user clicked through to the offending website |
| 42 optional bool user_proceeded = 2; | 45 optional bool user_proceeded = 2; |
| 43 // True if the user was shown an option to click through | 46 // True if the user was shown an option to click through |
| 44 optional bool overridable = 3; | 47 optional bool overridable = 3; |
| 45 // The time (in usec since the Windows epoch) when the client created the | 48 // The time (in usec since the Windows epoch) when the client created the |
| 46 // interstitial. | 49 // interstitial. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 optional bool is_issued_by_known_root = 9; | 142 optional bool is_issued_by_known_root = 9; |
| 140 | 143 |
| 141 // Information about features that were enabled or disabled for the | 144 // Information about features that were enabled or disabled for the |
| 142 // user that might affect certificate validation. | 145 // user that might affect certificate validation. |
| 143 optional CertLoggerFeaturesInfo features_info = 10; | 146 optional CertLoggerFeaturesInfo features_info = 10; |
| 144 | 147 |
| 145 // 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 |
| 146 // in all other uploads. | 149 // in all other uploads. |
| 147 optional bool is_retry_upload = 11; | 150 optional bool is_retry_upload = 11; |
| 148 }; | 151 }; |
| OLD | NEW |