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