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 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
8 | 8 |
9 package extensions.api.cast_channel.proto; | 9 package extensions.api.cast_channel.proto; |
10 | 10 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 CHALLENGE_REPLY_ERROR_WRONG_PAYLOAD_TYPE = 3; | 115 CHALLENGE_REPLY_ERROR_WRONG_PAYLOAD_TYPE = 3; |
116 CHALLENGE_REPLY_ERROR_NO_PAYLOAD = 4; | 116 CHALLENGE_REPLY_ERROR_NO_PAYLOAD = 4; |
117 CHALLENGE_REPLY_ERROR_PAYLOAD_PARSING_FAILED = 5; | 117 CHALLENGE_REPLY_ERROR_PAYLOAD_PARSING_FAILED = 5; |
118 CHALLENGE_REPLY_ERROR_MESSAGE_ERROR = 6; | 118 CHALLENGE_REPLY_ERROR_MESSAGE_ERROR = 6; |
119 CHALLENGE_REPLY_ERROR_NO_RESPONSE = 7; | 119 CHALLENGE_REPLY_ERROR_NO_RESPONSE = 7; |
120 CHALLENGE_REPLY_ERROR_FINGERPRINT_NOT_FOUND = 8; | 120 CHALLENGE_REPLY_ERROR_FINGERPRINT_NOT_FOUND = 8; |
121 CHALLENGE_REPLY_ERROR_CERT_PARSING_FAILED = 9; | 121 CHALLENGE_REPLY_ERROR_CERT_PARSING_FAILED = 9; |
122 CHALLENGE_REPLY_ERROR_CERT_NOT_SIGNED_BY_TRUSTED_CA = 10; | 122 CHALLENGE_REPLY_ERROR_CERT_NOT_SIGNED_BY_TRUSTED_CA = 10; |
123 CHALLENGE_REPLY_ERROR_CANNOT_EXTRACT_PUBLIC_KEY = 11; | 123 CHALLENGE_REPLY_ERROR_CANNOT_EXTRACT_PUBLIC_KEY = 11; |
124 CHALLENGE_REPLY_ERROR_SIGNED_BLOBS_MISMATCH = 12; | 124 CHALLENGE_REPLY_ERROR_SIGNED_BLOBS_MISMATCH = 12; |
| 125 CHALLENGE_REPLY_ERROR_TLS_CERT_VALIDITY_PERIOD_TOO_LONG = 13; |
| 126 CHALLENGE_REPLY_ERROR_TLS_CERT_VALID_START_DATE_IN_FUTURE = 14; |
| 127 CHALLENGE_REPLY_ERROR_TLS_CERT_EXPIRED = 15; |
| 128 CHALLENGE_REPLY_ERROR_CRL_INVALID = 16; |
| 129 CHALLENGE_REPLY_ERROR_CERT_REVOKED = 17; |
125 } | 130 } |
126 | 131 |
127 message SocketEvent { | 132 message SocketEvent { |
128 // Required | 133 // Required |
129 optional EventType type = 1; | 134 optional EventType type = 1; |
130 optional int64 timestamp_micros = 2; | 135 optional int64 timestamp_micros = 2; |
131 | 136 |
132 optional string details = 3; | 137 optional string details = 3; |
133 | 138 |
134 optional int32 net_return_value = 4; | 139 optional int32 net_return_value = 4; |
(...skipping 23 matching lines...) Expand all Loading... |
158 message Log { | 163 message Log { |
159 // Each AggregatedSocketEvent represents events recorded for a socket. | 164 // Each AggregatedSocketEvent represents events recorded for a socket. |
160 repeated AggregatedSocketEvent aggregated_socket_event = 1; | 165 repeated AggregatedSocketEvent aggregated_socket_event = 1; |
161 | 166 |
162 // Number of socket log entries evicted by the logger due to size constraints. | 167 // Number of socket log entries evicted by the logger due to size constraints. |
163 optional int32 num_evicted_aggregated_socket_events = 2; | 168 optional int32 num_evicted_aggregated_socket_events = 2; |
164 | 169 |
165 // Number of event log entries evicted by the logger due to size constraints. | 170 // Number of event log entries evicted by the logger due to size constraints. |
166 optional int32 num_evicted_socket_events = 3; | 171 optional int32 num_evicted_socket_events = 3; |
167 } | 172 } |
OLD | NEW |