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

Unified Diff: net/base/load_log_event_type_list.h

Issue 165404: Implement LoadLog, and hook up HostResolverImpl to LoadLog.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Do an unsigned/signed thing for GCC compile Created 11 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 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 0)
+++ net/base/load_log_event_type_list.h (revision 0)
@@ -0,0 +1,34 @@
+// 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
+// --------------------------------------------------------------------------
+
+// If a log is terminated by a kLogTruncated event, then it grew too large
+// and any subsequent events logged to it were discarded.
+EVENT_TYPE(LOG_TRUNCATED)
+
+// 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)
Property changes on: net\base\load_log_event_type_list.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« 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