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

Unified Diff: net/base/load_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/load_log.cc ('k') | net/base/load_log_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/load_log_event_type_list.h
===================================================================
--- net/base/load_log_event_type_list.h (revision 41560)
+++ net/base/load_log_event_type_list.h (working copy)
@@ -1,243 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// NOTE: No header guards are used, since this file is intended to be expanded
-// directly into load_log.h. DO NOT include this file anywhere else.
-
-// --------------------------------------------------------------------------
-// General pseudo-events
-// --------------------------------------------------------------------------
-
-// Something got cancelled (we determine what is cancelled based on the
-// log context around it.)
-EVENT_TYPE(CANCELLED)
-
-// ------------------------------------------------------------------------
-// HostResolverImpl
-// ------------------------------------------------------------------------
-
-// The start/end of a host resolve (DNS) request.
-EVENT_TYPE(HOST_RESOLVER_IMPL)
-
-// The start/end of HostResolver::Observer::OnStartResolution.
-EVENT_TYPE(HOST_RESOLVER_IMPL_OBSERVER_ONSTART)
-
-// The start/end of HostResolver::Observer::OnFinishResolutionWithStatus
-EVENT_TYPE(HOST_RESOLVER_IMPL_OBSERVER_ONFINISH)
-
-// The start/end of HostResolver::Observer::OnCancelResolution.
-EVENT_TYPE(HOST_RESOLVER_IMPL_OBSERVER_ONCANCEL)
-
-// ------------------------------------------------------------------------
-// InitProxyResolver
-// ------------------------------------------------------------------------
-
-// The start/end of auto-detect + custom PAC URL configuration.
-EVENT_TYPE(INIT_PROXY_RESOLVER)
-
-// The start/end of download of a PAC script. This could be the well-known
-// WPAD URL (if testing auto-detect), or a custom PAC URL.
-EVENT_TYPE(INIT_PROXY_RESOLVER_FETCH_PAC_SCRIPT)
-
-// The start/end of the testing of a PAC script (trying to parse the fetched
-// file as javascript).
-EVENT_TYPE(INIT_PROXY_RESOLVER_SET_PAC_SCRIPT)
-
-// ------------------------------------------------------------------------
-// ProxyService
-// ------------------------------------------------------------------------
-
-// The start/end of a proxy resolve request.
-EVENT_TYPE(PROXY_SERVICE)
-
-// The time while a request is waiting on InitProxyResolver to configure
-// against either WPAD or custom PAC URL. The specifics on this time
-// are found from ProxyService::init_proxy_resolver_log().
-EVENT_TYPE(PROXY_SERVICE_WAITING_FOR_INIT_PAC)
-
-// The time taken to fetch the system proxy configuration.
-EVENT_TYPE(PROXY_SERVICE_POLL_CONFIG_SERVICE_FOR_CHANGES)
-
-// ------------------------------------------------------------------------
-// Proxy Resolver
-// ------------------------------------------------------------------------
-
-// Measures the time taken to execute the "myIpAddress()" javascript binding.
-EVENT_TYPE(PROXY_RESOLVER_V8_MY_IP_ADDRESS)
-
-// Measures the time taken to execute the "myIpAddressEx()" javascript binding.
-EVENT_TYPE(PROXY_RESOLVER_V8_MY_IP_ADDRESS_EX)
-
-// Measures the time taken to execute the "dnsResolve()" javascript binding.
-EVENT_TYPE(PROXY_RESOLVER_V8_DNS_RESOLVE)
-
-// Measures the time taken to execute the "dnsResolveEx()" javascript binding.
-EVENT_TYPE(PROXY_RESOLVER_V8_DNS_RESOLVE_EX)
-
-// Measures the time that a proxy resolve request was stalled waiting for the
-// proxy resolver thread to free-up.
-EVENT_TYPE(WAITING_FOR_SINGLE_PROXY_RESOLVER_THREAD)
-
-// ------------------------------------------------------------------------
-// ClientSocket::Connect
-// ------------------------------------------------------------------------
-
-// The start/end of a TCP connect().
-EVENT_TYPE(TCP_CONNECT)
-
-// The start/end of a SOCKS connect().
-EVENT_TYPE(SOCKS_CONNECT)
-
-// The start/end of a SOCKS5 connect().
-EVENT_TYPE(SOCKS5_CONNECT)
-
-// The start/end of a SSL connect().
-EVENT_TYPE(SSL_CONNECT)
-
-// ------------------------------------------------------------------------
-// ClientSocketPoolBase::ConnectJob
-// ------------------------------------------------------------------------
-
-// The start/end of a ConnectJob.
-EVENT_TYPE(SOCKET_POOL_CONNECT_JOB)
-
-// Whether the connect job timed out.
-EVENT_TYPE(SOCKET_POOL_CONNECT_JOB_TIMED_OUT)
-
-// ------------------------------------------------------------------------
-// ClientSocketPoolBaseHelper
-// ------------------------------------------------------------------------
-
-// The start/end of a client socket pool request for a socket.
-EVENT_TYPE(SOCKET_POOL)
-
-// The request stalled because there are too many sockets in the pool.
-EVENT_TYPE(SOCKET_POOL_STALLED_MAX_SOCKETS)
-
-// The request stalled because there are too many sockets in the group.
-EVENT_TYPE(SOCKET_POOL_STALLED_MAX_SOCKETS_PER_GROUP)
-
-// A backup socket is created due to slow connect
-EVENT_TYPE(SOCKET_BACKUP_CREATED)
-
-// A backup socket is created due to slow connect
-EVENT_TYPE(SOCKET_BACKUP_TIMER_EXTENDED)
-
-// ------------------------------------------------------------------------
-// URLRequest
-// ------------------------------------------------------------------------
-
-// Measures the time between URLRequest::Start() and
-// URLRequest::ResponseStarted().
-EVENT_TYPE(URL_REQUEST_START)
-
-// ------------------------------------------------------------------------
-// HttpCache
-// ------------------------------------------------------------------------
-
-// Measures the time while opening a disk cache entry.
-EVENT_TYPE(HTTP_CACHE_OPEN_ENTRY)
-
-// Measures the time while creating a disk cache entry.
-EVENT_TYPE(HTTP_CACHE_CREATE_ENTRY)
-
-// Measures the time while deleting a disk cache entry.
-EVENT_TYPE(HTTP_CACHE_DOOM_ENTRY)
-
-// Measures the time while reading the response info from a disk cache entry.
-EVENT_TYPE(HTTP_CACHE_READ_INFO)
-
-// Measures the time that an HttpCache::Transaction is stalled waiting for
-// the cache entry to become available (for example if we are waiting for
-// exclusive access to an existing entry).
-EVENT_TYPE(HTTP_CACHE_WAITING)
-
-// ------------------------------------------------------------------------
-// HttpNetworkTransaction
-// ------------------------------------------------------------------------
-
-// Measures the time taken to send the request to the server.
-EVENT_TYPE(HTTP_TRANSACTION_SEND_REQUEST)
-
-// Measures the time to read HTTP response headers from the server.
-EVENT_TYPE(HTTP_TRANSACTION_READ_HEADERS)
-
-// Measures the time to read the entity body from the server.
-EVENT_TYPE(HTTP_TRANSACTION_READ_BODY)
-
-// Measures the time taken to read the response out of the socket before
-// restarting for authentication, on keep alive connections.
-EVENT_TYPE(HTTP_TRANSACTION_DRAIN_BODY_FOR_AUTH_RESTART)
-
-// ------------------------------------------------------------------------
-// SpdyNetworkTransaction
-// ------------------------------------------------------------------------
-
-// Measures the time taken to get a spdy stream.
-EVENT_TYPE(SPDY_TRANSACTION_INIT_CONNECTION)
-
-// Measures the time taken to send the request to the server.
-EVENT_TYPE(SPDY_TRANSACTION_SEND_REQUEST)
-
-// Measures the time to read HTTP response headers from the server.
-EVENT_TYPE(SPDY_TRANSACTION_READ_HEADERS)
-
-// Measures the time to read the entity body from the server.
-EVENT_TYPE(SPDY_TRANSACTION_READ_BODY)
-
-// ------------------------------------------------------------------------
-// SpdyStream
-// ------------------------------------------------------------------------
-
-// Measures the time taken to send headers on a stream.
-EVENT_TYPE(SPDY_STREAM_SEND_HEADERS)
-
-// Measures the time taken to send the body (e.g. a POST) on a stream.
-EVENT_TYPE(SPDY_STREAM_SEND_BODY)
-
-// Measures the time taken to read headers on a stream.
-EVENT_TYPE(SPDY_STREAM_READ_HEADERS)
-
-// Measures the time taken to read the body on a stream.
-EVENT_TYPE(SPDY_STREAM_READ_BODY)
-
-// Logs that a stream attached to a pushed stream.
-EVENT_TYPE(SPDY_STREAM_ADOPTED_PUSH_STREAM)
-
-// ------------------------------------------------------------------------
-// HttpStreamParser
-// ------------------------------------------------------------------------
-
-// Measures the time to read HTTP response headers from the server.
-EVENT_TYPE(HTTP_STREAM_PARSER_READ_HEADERS)
-
-// ------------------------------------------------------------------------
-// SocketStream
-// ------------------------------------------------------------------------
-
-// Measures the time between SocketStream::Connect() and
-// SocketStream::DidEstablishConnection()
-EVENT_TYPE(SOCKET_STREAM_CONNECT)
-
-// A message sent on the SocketStream.
-EVENT_TYPE(SOCKET_STREAM_SENT)
-
-// A message received on the SocketStream.
-EVENT_TYPE(SOCKET_STREAM_RECEIVED)
-
-// ------------------------------------------------------------------------
-// SOCKS5ClientSocket
-// ------------------------------------------------------------------------
-
-// The time spent sending the "greeting" to the SOCKS server.
-EVENT_TYPE(SOCKS5_GREET_WRITE)
-
-// The time spent waiting for the "greeting" response from the SOCKS server.
-EVENT_TYPE(SOCKS5_GREET_READ)
-
-// The time spent sending the CONNECT request to the SOCKS server.
-EVENT_TYPE(SOCKS5_HANDSHAKE_WRITE)
-
-// The time spent waiting for the response to the CONNECT request.
-EVENT_TYPE(SOCKS5_HANDSHAKE_READ)
« no previous file with comments | « net/base/load_log.cc ('k') | net/base/load_log_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698