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 17 matching lines...) Expand all Loading... |
28 CONNECT_TIMED_OUT = 16; | 28 CONNECT_TIMED_OUT = 16; |
29 SEND_MESSAGE_FAILED = 17; | 29 SEND_MESSAGE_FAILED = 17; |
30 MESSAGE_ENQUEUED = 18; // Message | 30 MESSAGE_ENQUEUED = 18; // Message |
31 SOCKET_WRITE = 19; // Logged with RV. | 31 SOCKET_WRITE = 19; // Logged with RV. |
32 MESSAGE_WRITTEN = 20; // Message | 32 MESSAGE_WRITTEN = 20; // Message |
33 SOCKET_READ = 21; // Logged with RV. | 33 SOCKET_READ = 21; // Logged with RV. |
34 MESSAGE_READ = 22; // Message | 34 MESSAGE_READ = 22; // Message |
35 NOTIFY_ON_MESSAGE = 23; // Message | 35 NOTIFY_ON_MESSAGE = 23; // Message |
36 NOTIFY_ON_ERROR = 24; | 36 NOTIFY_ON_ERROR = 24; |
37 SOCKET_CLOSED = 25; | 37 SOCKET_CLOSED = 25; |
| 38 SSL_CERT_EXCESSIVE_LIFETIME = 26; |
38 } | 39 } |
39 | 40 |
40 enum ChannelAuth { | 41 enum ChannelAuth { |
41 // SSL over TCP. | 42 // SSL over TCP. |
42 SSL = 1; | 43 SSL = 1; |
43 // SSL over TCP with challenge and receiver signature verification. | 44 // SSL over TCP with challenge and receiver signature verification. |
44 SSL_VERIFIED = 2; | 45 SSL_VERIFIED = 2; |
45 } | 46 } |
46 | 47 |
47 enum ReadyState { | 48 enum ReadyState { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 message Log { | 141 message Log { |
141 // Each AggregatedSocketEvent represents events recorded for a socket. | 142 // Each AggregatedSocketEvent represents events recorded for a socket. |
142 repeated AggregatedSocketEvent aggregated_socket_event = 1; | 143 repeated AggregatedSocketEvent aggregated_socket_event = 1; |
143 | 144 |
144 // Number of socket log entries evicted by the logger due to size constraints. | 145 // Number of socket log entries evicted by the logger due to size constraints. |
145 optional int32 num_evicted_aggregated_socket_events = 2; | 146 optional int32 num_evicted_aggregated_socket_events = 2; |
146 | 147 |
147 // Number of event log entries evicted by the logger due to size constraints. | 148 // Number of event log entries evicted by the logger due to size constraints. |
148 optional int32 num_evicted_socket_events = 3; | 149 optional int32 num_evicted_socket_events = 3; |
149 } | 150 } |
OLD | NEW |