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

Side by Side Diff: net/base/net_log_event_type_list.h

Issue 848006: Generalize the net module's LoadLog facility from a passive container, to an event stream (NetLog). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Split up RequestTracker into ConnectJobTracker+RequestTracker+RequestTrackerBase, address comments Created 10 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « net/base/net_log.cc ('k') | net/base/net_log_unittest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // NOTE: No header guards are used, since this file is intended to be expanded 5 // NOTE: No header guards are used, since this file is intended to be expanded
6 // directly into load_log.h. DO NOT include this file anywhere else. 6 // directly into net_log.h. DO NOT include this file anywhere else.
7 7
8 // -------------------------------------------------------------------------- 8 // --------------------------------------------------------------------------
9 // General pseudo-events 9 // General pseudo-events
10 // -------------------------------------------------------------------------- 10 // --------------------------------------------------------------------------
11 11
12 // Something got cancelled (we determine what is cancelled based on the 12 // Something got cancelled (we determine what is cancelled based on the
13 // log context around it.) 13 // log context around it.)
14 EVENT_TYPE(CANCELLED) 14 EVENT_TYPE(CANCELLED)
15 15
16 // Marks the creation/destruction of a request (URLRequest or SocketStream).
17 // In the begin phase of this event, the message will contain a string which
18 // is the URL.
19 EVENT_TYPE(REQUEST_ALIVE)
20
16 // ------------------------------------------------------------------------ 21 // ------------------------------------------------------------------------
17 // HostResolverImpl 22 // HostResolverImpl
18 // ------------------------------------------------------------------------ 23 // ------------------------------------------------------------------------
19 24
20 // The start/end of a host resolve (DNS) request. 25 // The start/end of a host resolve (DNS) request.
21 EVENT_TYPE(HOST_RESOLVER_IMPL) 26 EVENT_TYPE(HOST_RESOLVER_IMPL)
22 27
23 // The start/end of HostResolver::Observer::OnStartResolution. 28 // The start/end of HostResolver::Observer::OnStartResolution.
24 EVENT_TYPE(HOST_RESOLVER_IMPL_OBSERVER_ONSTART) 29 EVENT_TYPE(HOST_RESOLVER_IMPL_OBSERVER_ONSTART)
25 30
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 116
112 // The start/end of a client socket pool request for a socket. 117 // The start/end of a client socket pool request for a socket.
113 EVENT_TYPE(SOCKET_POOL) 118 EVENT_TYPE(SOCKET_POOL)
114 119
115 // The request stalled because there are too many sockets in the pool. 120 // The request stalled because there are too many sockets in the pool.
116 EVENT_TYPE(SOCKET_POOL_STALLED_MAX_SOCKETS) 121 EVENT_TYPE(SOCKET_POOL_STALLED_MAX_SOCKETS)
117 122
118 // The request stalled because there are too many sockets in the group. 123 // The request stalled because there are too many sockets in the group.
119 EVENT_TYPE(SOCKET_POOL_STALLED_MAX_SOCKETS_PER_GROUP) 124 EVENT_TYPE(SOCKET_POOL_STALLED_MAX_SOCKETS_PER_GROUP)
120 125
126 // A backup socket is created due to slow connect
127 EVENT_TYPE(SOCKET_BACKUP_CREATED)
128
129 // A backup socket is created due to slow connect
130 EVENT_TYPE(SOCKET_BACKUP_TIMER_EXTENDED)
131
132 // Identifies the NetLog::Source() for the ConnectJob that this socket ended
133 // up binding to.
134 EVENT_TYPE(SOCKET_POOL_CONNECT_JOB_ID)
135
121 // ------------------------------------------------------------------------ 136 // ------------------------------------------------------------------------
122 // URLRequest 137 // URLRequest
123 // ------------------------------------------------------------------------ 138 // ------------------------------------------------------------------------
124 139
125 // Measures the time between URLRequest::Start() and 140 // Measures the time between URLRequest::Start() and
126 // URLRequest::ResponseStarted(). 141 // URLRequest::ResponseStarted().
127 EVENT_TYPE(URL_REQUEST_START) 142 EVENT_TYPE(URL_REQUEST_START)
128 143
129 // ------------------------------------------------------------------------ 144 // ------------------------------------------------------------------------
130 // HttpCache 145 // HttpCache
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 EVENT_TYPE(SOCKS5_GREET_WRITE) 243 EVENT_TYPE(SOCKS5_GREET_WRITE)
229 244
230 // The time spent waiting for the "greeting" response from the SOCKS server. 245 // The time spent waiting for the "greeting" response from the SOCKS server.
231 EVENT_TYPE(SOCKS5_GREET_READ) 246 EVENT_TYPE(SOCKS5_GREET_READ)
232 247
233 // The time spent sending the CONNECT request to the SOCKS server. 248 // The time spent sending the CONNECT request to the SOCKS server.
234 EVENT_TYPE(SOCKS5_HANDSHAKE_WRITE) 249 EVENT_TYPE(SOCKS5_HANDSHAKE_WRITE)
235 250
236 // The time spent waiting for the response to the CONNECT request. 251 // The time spent waiting for the response to the CONNECT request.
237 EVENT_TYPE(SOCKS5_HANDSHAKE_READ) 252 EVENT_TYPE(SOCKS5_HANDSHAKE_READ)
OLDNEW
« no previous file with comments | « net/base/net_log.cc ('k') | net/base/net_log_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698