1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum values.
8 // Flags used to request different types of information about the current state
9 // of a URLRequestContext.
11 // The strings don't match the enums for historical reasons.
13 NET_INFO_SOURCE(PROXY_SETTINGS
, "proxySettings", 1 << 0)
14 NET_INFO_SOURCE(BAD_PROXIES
, "badProxies", 1 << 1)
15 NET_INFO_SOURCE(HOST_RESOLVER
, "hostResolverInfo", 1 << 2)
16 NET_INFO_SOURCE(SOCKET_POOL
, "socketPoolInfo", 1 << 3)
17 NET_INFO_SOURCE(QUIC
, "quicInfo", 1 << 4)
18 NET_INFO_SOURCE(SPDY_SESSIONS
, "spdySessionInfo", 1 << 5)
19 NET_INFO_SOURCE(SPDY_STATUS
, "spdyStatus", 1 << 6)
20 NET_INFO_SOURCE(SPDY_ALT_SVC_MAPPINGS
, "spdyAlternateProtocolMappings", 1 << 7)
21 NET_INFO_SOURCE(HTTP_CACHE
, "httpCacheInfo", 1 << 8)
22 NET_INFO_SOURCE(SDCH
, "sdchInfo", 1 << 9)