Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / net / base / net_info_source_list.h
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.
4
5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum values.
7
8 // Flags used to request different types of information about the current state
9 // of a URLRequestContext.
10 //
11 // The strings don't match the enums for historical reasons.
12
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)