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.api.cast_channel.proto; |
10 | 10 |
11 enum EventType { | 11 enum EventType { |
12 EVENT_TYPE_UNKNOWN = 0; | 12 EVENT_TYPE_UNKNOWN = 0; |
13 CAST_SOCKET_CREATED = 1; | 13 CAST_SOCKET_CREATED = 1; |
14 READY_STATE_CHANGED = 2; | 14 READY_STATE_CHANGED = 2; |
15 CONNECTION_STATE_CHANGED = 3; | 15 CONNECTION_STATE_CHANGED = 3; |
16 READ_STATE_CHANGED = 4; | 16 READ_STATE_CHANGED = 4; |
17 WRITE_STATE_CHANGED = 5; | 17 WRITE_STATE_CHANGED = 5; |
18 ERROR_STATE_CHANGED = 6; | 18 ERROR_STATE_CHANGED = 6; |
19 CONNECT_FAILED = 7; | 19 CONNECT_FAILED = 7; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 message Log { | 146 message Log { |
147 // Each AggregatedSocketEvent represents events recorded for a socket. | 147 // Each AggregatedSocketEvent represents events recorded for a socket. |
148 repeated AggregatedSocketEvent aggregated_socket_event = 1; | 148 repeated AggregatedSocketEvent aggregated_socket_event = 1; |
149 | 149 |
150 // Number of socket log entries evicted by the logger due to size constraints. | 150 // Number of socket log entries evicted by the logger due to size constraints. |
151 optional int32 num_evicted_aggregated_socket_events = 2; | 151 optional int32 num_evicted_aggregated_socket_events = 2; |
152 | 152 |
153 // Number of event log entries evicted by the logger due to size constraints. | 153 // Number of event log entries evicted by the logger due to size constraints. |
154 optional int32 num_evicted_socket_events = 3; | 154 optional int32 num_evicted_socket_events = 3; |
155 } | 155 } |
OLD | NEW |