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

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

Issue 475463002: Cast channel logging: log additional statistics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@REAL-NEW-MASTER
Patch Set: Fix merge Created 6 years, 4 months 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') | no next file » | 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 optional ChallengeReplyErrorType challenge_reply_error_type = 11; 127 optional ChallengeReplyErrorType challenge_reply_error_type = 11;
128 optional int32 nss_error_code = 12; 128 optional int32 nss_error_code = 12;
129 } 129 }
130 130
131 message AggregatedSocketEvent { 131 message AggregatedSocketEvent {
132 optional int32 id = 1; 132 optional int32 id = 1;
133 optional int32 endpoint_id = 2; 133 optional int32 endpoint_id = 2;
134 optional ChannelAuth channel_auth_type = 3; 134 optional ChannelAuth channel_auth_type = 3;
135 repeated SocketEvent socket_event = 4; 135 repeated SocketEvent socket_event = 4;
136 optional int64 bytes_read = 5;
137 optional int64 bytes_written = 6;
136 } 138 }
137 139
138 message Log { 140 message Log {
139 // Each AggregatedSocketEvent represents events recorded for a socket. 141 // Each AggregatedSocketEvent represents events recorded for a socket.
140 repeated AggregatedSocketEvent aggregated_socket_event = 1; 142 repeated AggregatedSocketEvent aggregated_socket_event = 1;
141 143
142 // Number of socket log entries evicted by the logger due to size constraints. 144 // Number of socket log entries evicted by the logger due to size constraints.
143 optional int32 num_evicted_aggregated_socket_events = 2; 145 optional int32 num_evicted_aggregated_socket_events = 2;
144 146
145 // Number of event log entries evicted by the logger due to size constraints. 147 // Number of event log entries evicted by the logger due to size constraints.
146 optional int32 num_evicted_socket_events = 3; 148 optional int32 num_evicted_socket_events = 3;
147
148 // TODO(imcheng): Add other stats, such as bytes read/written across sockets.
149 } 149 }
OLDNEW
« no previous file with comments | « extensions/browser/api/cast_channel/logger_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698