Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: components/certificate_reporting/cert_logger.proto

Issue 2682733003: Add AIA fetching feature info to certificate reports (Closed)
Patch Set: Add UMA statistic for AIA fetches Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/certificate_reporting/error_report.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 enum NetworkTimeFetchBehavior { 60 enum NetworkTimeFetchBehavior {
61 NETWORK_TIME_FETCHES_UNKNOWN = 0; 61 NETWORK_TIME_FETCHES_UNKNOWN = 0;
62 NETWORK_TIME_FETCHES_BACKGROUND_ONLY = 1; 62 NETWORK_TIME_FETCHES_BACKGROUND_ONLY = 1;
63 NETWORK_TIME_FETCHES_ON_DEMAND_ONLY = 2; 63 NETWORK_TIME_FETCHES_ON_DEMAND_ONLY = 2;
64 NETWORK_TIME_FETCHES_IN_BACKGROUND_AND_ON_DEMAND = 3; 64 NETWORK_TIME_FETCHES_IN_BACKGROUND_AND_ON_DEMAND = 3;
65 } 65 }
66 optional NetworkTimeFetchBehavior network_time_query_behavior = 2; 66 optional NetworkTimeFetchBehavior network_time_query_behavior = 2;
67 } 67 }
68 68
69 optional NetworkTimeQueryingInfo network_time_querying_info = 1; 69 optional NetworkTimeQueryingInfo network_time_querying_info = 1;
70
71 // Records whether the Android AIA fetching feature is enabled.
72 //
73 // This is an enum rather than a boolean as a convenience to
74 // distinguish reports where fetching is disabled from reports that
75 // were sent before this field was present. (In other words, if it
76 // were a boolean, a value of false might mean that fetching was
77 // disabled, or it might mean that the browser version was older than
78 // when this field was added.)
79 enum AndroidAIAFetchingStatus {
80 ANDROID_AIA_FETCHING_UNKNOWN = 0;
81 ANDROID_AIA_FETCHING_ENABLED = 1;
82 ANDROID_AIA_FETCHING_DISABLED = 2;
83 }
84 optional AndroidAIAFetchingStatus android_aia_fetching_status = 2;
70 } 85 }
71 86
72 message CertLoggerRequest { 87 message CertLoggerRequest {
73 // The hostname being accessed (required as the cert could be valid for 88 // The hostname being accessed (required as the cert could be valid for
74 // multiple hosts, e.g. a wildcard or a SubjectAltName. 89 // multiple hosts, e.g. a wildcard or a SubjectAltName.
75 required string hostname = 1; 90 required string hostname = 1;
76 // The certificate chain as a series of PEM-encoded certificates, including 91 // The certificate chain as a series of PEM-encoded certificates, including
77 // intermediates but not necessarily the root. 92 // intermediates but not necessarily the root.
78 required string cert_chain = 2; 93 required string cert_chain = 2;
79 // The time (in usec since the epoch) when the client generated the report. 94 // The time (in usec since the epoch) when the client generated the report.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 optional bool is_issued_by_known_root = 9; 139 optional bool is_issued_by_known_root = 9;
125 140
126 // Information about features that were enabled or disabled for the 141 // Information about features that were enabled or disabled for the
127 // user that might affect certificate validation. 142 // user that might affect certificate validation.
128 optional CertLoggerFeaturesInfo features_info = 10; 143 optional CertLoggerFeaturesInfo features_info = 10;
129 144
130 // False when the report is attempted to be uploaded for the first time. True 145 // False when the report is attempted to be uploaded for the first time. True
131 // in all other uploads. 146 // in all other uploads.
132 optional bool is_retry_upload = 11; 147 optional bool is_retry_upload = 11;
133 }; 148 };
OLDNEW
« no previous file with comments | « no previous file | components/certificate_reporting/error_report.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698