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.core_api.cast_channel.proto; | 9 package extensions.core_api.cast_channel.proto; |
10 | 10 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 enum ChallengeReplyErrorType { | 95 enum ChallengeReplyErrorType { |
96 CHALLENGE_REPLY_ERROR_NONE = 1; | 96 CHALLENGE_REPLY_ERROR_NONE = 1; |
97 CHALLENGE_REPLY_ERROR_PEER_CERT_EMPTY = 2; | 97 CHALLENGE_REPLY_ERROR_PEER_CERT_EMPTY = 2; |
98 CHALLENGE_REPLY_ERROR_WRONG_PAYLOAD_TYPE = 3; | 98 CHALLENGE_REPLY_ERROR_WRONG_PAYLOAD_TYPE = 3; |
99 CHALLENGE_REPLY_ERROR_NO_PAYLOAD = 4; | 99 CHALLENGE_REPLY_ERROR_NO_PAYLOAD = 4; |
100 CHALLENGE_REPLY_ERROR_PAYLOAD_PARSING_FAILED = 5; | 100 CHALLENGE_REPLY_ERROR_PAYLOAD_PARSING_FAILED = 5; |
101 CHALLENGE_REPLY_ERROR_MESSAGE_ERROR = 6; | 101 CHALLENGE_REPLY_ERROR_MESSAGE_ERROR = 6; |
102 CHALLENGE_REPLY_ERROR_NO_RESPONSE = 7; | 102 CHALLENGE_REPLY_ERROR_NO_RESPONSE = 7; |
103 CHALLENGE_REPLY_ERROR_FINGERPRINT_NOT_FOUND = 8; | 103 CHALLENGE_REPLY_ERROR_FINGERPRINT_NOT_FOUND = 8; |
104 CHALLENGE_REPLY_ERROR_NSS_CERT_PARSING_FAILED = 9; | 104 CHALLENGE_REPLY_ERROR_CERT_PARSING_FAILED = 9; |
105 CHALLENGE_REPLY_ERROR_NSS_CERT_NOT_SIGNED_BY_TRUSTED_CA = 10; | 105 CHALLENGE_REPLY_ERROR_CERT_NOT_SIGNED_BY_TRUSTED_CA = 10; |
106 CHALLENGE_REPLY_ERROR_NSS_CANNOT_EXTRACT_PUBLIC_KEY = 11; | 106 CHALLENGE_REPLY_ERROR_CANNOT_EXTRACT_PUBLIC_KEY = 11; |
107 CHALLENGE_REPLY_ERROR_NSS_SIGNED_BLOBS_MISMATCH = 12; | 107 CHALLENGE_REPLY_ERROR_SIGNED_BLOBS_MISMATCH = 12; |
108 } | 108 } |
109 | 109 |
110 message SocketEvent { | 110 message SocketEvent { |
111 // Required | 111 // Required |
112 optional EventType type = 1; | 112 optional EventType type = 1; |
113 optional int64 timestamp_micros = 2; | 113 optional int64 timestamp_micros = 2; |
114 | 114 |
115 optional string details = 3; | 115 optional string details = 3; |
116 | 116 |
117 optional int32 net_return_value = 4; | 117 optional int32 net_return_value = 4; |
(...skipping 22 matching lines...) Expand all Loading... |
140 message Log { | 140 message Log { |
141 // Each AggregatedSocketEvent represents events recorded for a socket. | 141 // Each AggregatedSocketEvent represents events recorded for a socket. |
142 repeated AggregatedSocketEvent aggregated_socket_event = 1; | 142 repeated AggregatedSocketEvent aggregated_socket_event = 1; |
143 | 143 |
144 // Number of socket log entries evicted by the logger due to size constraints. | 144 // Number of socket log entries evicted by the logger due to size constraints. |
145 optional int32 num_evicted_aggregated_socket_events = 2; | 145 optional int32 num_evicted_aggregated_socket_events = 2; |
146 | 146 |
147 // Number of event log entries evicted by the logger due to size constraints. | 147 // Number of event log entries evicted by the logger due to size constraints. |
148 optional int32 num_evicted_socket_events = 3; | 148 optional int32 num_evicted_socket_events = 3; |
149 } | 149 } |
OLD | NEW |