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

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

Issue 845063002: Add result logging for TCP and SSL connection setup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master Created 5 years, 11 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/cast_socket.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 19 matching lines...) Expand all
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
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 }
OLDNEW
« no previous file with comments | « extensions/browser/api/cast_channel/cast_socket.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698