summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 02:36:16 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 02:36:16 +0000
commitc31a5459ed8dede7085508a47cb69370d73b4521 (patch)
treef40dbd661f82a438ad7d9c071d2d43b8f015bc49 /net/base
parent813feb8fb79098c0188cbdd1676829fb74bd43b0 (diff)
downloadchromium_src-c31a5459ed8dede7085508a47cb69370d73b4521.zip
chromium_src-c31a5459ed8dede7085508a47cb69370d73b4521.tar.gz
chromium_src-c31a5459ed8dede7085508a47cb69370d73b4521.tar.bz2
Add trace-point for URLRequest to the LoadLog.
This is probably the most important metric, since it measures the initial latency of the request (until when we get the headers back). BUG=http://crbug.com/14478 Review URL: http://codereview.chromium.org/194018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/load_log_event_type_list.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/base/load_log_event_type_list.h b/net/base/load_log_event_type_list.h
index 75b84b3..28cfc03 100644
--- a/net/base/load_log_event_type_list.h
+++ b/net/base/load_log_event_type_list.h
@@ -87,4 +87,11 @@ 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)
+// ------------------------------------------------------------------------
+// URLRequest
+// ------------------------------------------------------------------------
+
+// Measures the time between URLRequest::Start() and
+// URLRequest::ResponseStarted().
+EVENT_TYPE(URL_REQUEST_START)