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

Side by Side Diff: extensions/common/api/cast_channel/logging.proto

Issue 687733004: Implement crypto signature verification routines using OpenSSL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed code review feedback Created 6 years, 1 month 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 | « extensions/browser/api/cast_channel/logger_unittest.cc ('k') | extensions/extensions.gyp » ('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 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
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 }
109
110 message OpenSSLError {
111 optional string filename = 1;
112 optional int32 line = 2;
davidben 2014/11/01 00:19:35 Does this send the Chrome version? These aren't go
Kevin M 2014/11/03 18:31:46 The Chrome version is included in the feedback rep
108 } 113 }
109 114
110 message SocketEvent { 115 message SocketEvent {
111 // Required 116 // Required
112 optional EventType type = 1; 117 optional EventType type = 1;
113 optional int64 timestamp_micros = 2; 118 optional int64 timestamp_micros = 2;
114 119
115 optional string details = 3; 120 optional string details = 3;
116 121
117 optional int32 net_return_value = 4; 122 optional int32 net_return_value = 4;
118 123
119 optional string message_namespace = 5; 124 optional string message_namespace = 5;
120 125
121 optional ReadyState ready_state = 6; 126 optional ReadyState ready_state = 6;
122 optional ConnectionState connection_state = 7; 127 optional ConnectionState connection_state = 7;
123 optional ReadState read_state = 8; 128 optional ReadState read_state = 8;
124 optional WriteState write_state = 9; 129 optional WriteState write_state = 9;
125 optional ErrorState error_state = 10; 130 optional ErrorState error_state = 10;
126 131
127 optional ChallengeReplyErrorType challenge_reply_error_type = 11; 132 optional ChallengeReplyErrorType challenge_reply_error_type = 11;
128 optional int32 nss_error_code = 12; 133 optional int32 nss_error_code = 12;
134
135 repeated OpenSSLError openssl_error = 13;
davidben 2014/11/01 00:19:35 This should have a comment that this is specifical
Kevin M 2014/11/03 18:31:46 Done.
129 } 136 }
130 137
131 message AggregatedSocketEvent { 138 message AggregatedSocketEvent {
132 optional int32 id = 1; 139 optional int32 id = 1;
133 optional int32 endpoint_id = 2; 140 optional int32 endpoint_id = 2;
134 optional ChannelAuth channel_auth_type = 3; 141 optional ChannelAuth channel_auth_type = 3;
135 repeated SocketEvent socket_event = 4; 142 repeated SocketEvent socket_event = 4;
136 optional int64 bytes_read = 5; 143 optional int64 bytes_read = 5;
137 optional int64 bytes_written = 6; 144 optional int64 bytes_written = 6;
138 } 145 }
139 146
140 message Log { 147 message Log {
141 // Each AggregatedSocketEvent represents events recorded for a socket. 148 // Each AggregatedSocketEvent represents events recorded for a socket.
142 repeated AggregatedSocketEvent aggregated_socket_event = 1; 149 repeated AggregatedSocketEvent aggregated_socket_event = 1;
143 150
144 // Number of socket log entries evicted by the logger due to size constraints. 151 // Number of socket log entries evicted by the logger due to size constraints.
145 optional int32 num_evicted_aggregated_socket_events = 2; 152 optional int32 num_evicted_aggregated_socket_events = 2;
146 153
147 // Number of event log entries evicted by the logger due to size constraints. 154 // Number of event log entries evicted by the logger due to size constraints.
148 optional int32 num_evicted_socket_events = 3; 155 optional int32 num_evicted_socket_events = 3;
149 } 156 }
OLDNEW
« no previous file with comments | « extensions/browser/api/cast_channel/logger_unittest.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698