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 19 matching lines...) Expand all Loading... |
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 SSL_CERT_EXCESSIVE_LIFETIME = 26; |
39 CHANNEL_POLICY_ENFORCED = 27; | 39 CHANNEL_POLICY_ENFORCED = 27; |
| 40 TCP_SOCKET_CONNECT_COMPLETE = 28; // Logged with RV. |
| 41 SSL_SOCKET_CONNECT_COMPLETE = 29; // Logged with RV. |
40 } | 42 } |
41 | 43 |
42 enum ChannelAuth { | 44 enum ChannelAuth { |
43 // SSL over TCP. | 45 // SSL over TCP. |
44 SSL = 1; | 46 SSL = 1; |
45 // SSL over TCP with challenge and receiver signature verification. | 47 // SSL over TCP with challenge and receiver signature verification. |
46 SSL_VERIFIED = 2; | 48 SSL_VERIFIED = 2; |
47 } | 49 } |
48 | 50 |
49 enum ReadyState { | 51 enum ReadyState { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 message Log { | 144 message Log { |
143 // Each AggregatedSocketEvent represents events recorded for a socket. | 145 // Each AggregatedSocketEvent represents events recorded for a socket. |
144 repeated AggregatedSocketEvent aggregated_socket_event = 1; | 146 repeated AggregatedSocketEvent aggregated_socket_event = 1; |
145 | 147 |
146 // Number of socket log entries evicted by the logger due to size constraints. | 148 // Number of socket log entries evicted by the logger due to size constraints. |
147 optional int32 num_evicted_aggregated_socket_events = 2; | 149 optional int32 num_evicted_aggregated_socket_events = 2; |
148 | 150 |
149 // Number of event log entries evicted by the logger due to size constraints. | 151 // Number of event log entries evicted by the logger due to size constraints. |
150 optional int32 num_evicted_socket_events = 3; | 152 optional int32 num_evicted_socket_events = 3; |
151 } | 153 } |
OLD | NEW |