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

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

Issue 2958023002: Add histograms and NetLog for host cache persistence (Closed)
Patch Set: use scoped timer Created 3 years, 5 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 | « net/dns/host_cache.cc ('k') | net/log/net_log_source_type_list.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 net_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 // In the event of a failure, a many end events will have a |net_error| 8 // In the event of a failure, a many end events will have a |net_error|
9 // parameter with the integer error code associated with the failure. Most 9 // parameter with the integer error code associated with the failure. Most
10 // of these parameters are not individually documented. 10 // of these parameters are not individually documented.
(...skipping 3190 matching lines...) Expand 10 before | Expand all | Expand 10 after
3201 3201
3202 // This event is emitted when HttpServerPropertiesManager is persisting 3202 // This event is emitted when HttpServerPropertiesManager is persisting
3203 // in-memory version of HttpServerProperties to prefs/disk. 3203 // in-memory version of HttpServerProperties to prefs/disk.
3204 // parameters: 3204 // parameters:
3205 // { 3205 // {
3206 // "servers": <List of servers and their protocol usage information>, 3206 // "servers": <List of servers and their protocol usage information>,
3207 // "supports_quic": <Local IP addresses that used QUIC>, 3207 // "supports_quic": <Local IP addresses that used QUIC>,
3208 // "version": <The version number>, 3208 // "version": <The version number>,
3209 // } 3209 // }
3210 EVENT_TYPE(HTTP_SERVER_PROPERTIES_UPDATE_PREFS) 3210 EVENT_TYPE(HTTP_SERVER_PROPERTIES_UPDATE_PREFS)
3211
3212 // -----------------------------------------------------------------------------
3213 // HostCachePersistenceManager related events
3214 // -----------------------------------------------------------------------------
3215
3216 // The start/end of getting the persisted HostCache value and restoring it.
3217 // The END phase contains the following parameters:
3218 // {
3219 // "success": <Whether the persisted HostCache was restored successfully>,
3220 // }
3221 EVENT_TYPE(HOST_CACHE_PREF_READ)
3222
3223 // This event is created when the HostCachePersistenceManager writes the cache
3224 // contents to prefs.
3225 EVENT_TYPE(HOST_CACHE_PREF_WRITE)
3226
3227 // This event is created when the HostCachePersistenceManager starts the timer
3228 // for writing a cache change to prefs.
3229 EVENT_TYPE(HOST_CACHE_PERSISTENCE_START_TIMER)
OLDNEW
« no previous file with comments | « net/dns/host_cache.cc ('k') | net/log/net_log_source_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698