Roll src/third_party/WebKit 8121bc6:918aba1 (svn 188871:188878)
[chromium-blink-merge.git] / net / base / net_info_source_list.h
blob107840b768c483e0680fd2ae616e544e58539ee0
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_PROTO_MAPPINGS, "spdyAlternateProtocolMappings",
21 1 << 7)
22 NET_INFO_SOURCE(HTTP_CACHE, "httpCacheInfo", 1 << 8)
23 NET_INFO_SOURCE(SDCH, "sdchInfo", 1 << 9)