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

Side by Side Diff: components/cronet/url_request_context_config_list.h

Issue 1429863008: [Cronet] Remove JSON serialization of CronetEngine.Builder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix component_unittests Created 5 years 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
OLDNEW
(Empty)
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 #ifndef DEFINE_CONTEXT_CONFIG
8 #error "DEFINE_CONTEXT_CONFIG should be defined before including this file"
9 #endif
10 // See CronetEngine.Builder class in CronetEngine.java for description of these
11 // parameters.
12 DEFINE_CONTEXT_CONFIG(USER_AGENT)
13 DEFINE_CONTEXT_CONFIG(STORAGE_PATH)
14 DEFINE_CONTEXT_CONFIG(ENABLE_LEGACY_MODE)
15 DEFINE_CONTEXT_CONFIG(NATIVE_LIBRARY_NAME)
16 DEFINE_CONTEXT_CONFIG(ENABLE_QUIC)
17 DEFINE_CONTEXT_CONFIG(ENABLE_SPDY)
18 DEFINE_CONTEXT_CONFIG(ENABLE_SDCH)
19 DEFINE_CONTEXT_CONFIG(DATA_REDUCTION_PROXY_KEY)
20 DEFINE_CONTEXT_CONFIG(DATA_REDUCTION_PRIMARY_PROXY)
21 DEFINE_CONTEXT_CONFIG(DATA_REDUCTION_FALLBACK_PROXY)
22 DEFINE_CONTEXT_CONFIG(DATA_REDUCTION_SECURE_PROXY_CHECK_URL)
23 DEFINE_CONTEXT_CONFIG(HTTP_CACHE)
24 DEFINE_CONTEXT_CONFIG(HTTP_CACHE_MAX_SIZE)
25
26 DEFINE_CONTEXT_CONFIG(HTTP_CACHE_DISABLED)
27 DEFINE_CONTEXT_CONFIG(HTTP_CACHE_DISK)
28 DEFINE_CONTEXT_CONFIG(HTTP_CACHE_MEMORY)
29 DEFINE_CONTEXT_CONFIG(LOAD_DISABLE_CACHE)
30
31 DEFINE_CONTEXT_CONFIG(QUIC_HINTS)
32 DEFINE_CONTEXT_CONFIG(QUIC_HINT_HOST)
33 DEFINE_CONTEXT_CONFIG(QUIC_HINT_PORT)
34 DEFINE_CONTEXT_CONFIG(QUIC_HINT_ALT_PORT)
35
36 DEFINE_CONTEXT_CONFIG(EXPERIMENTAL_OPTIONS)
37
38 // The list of PKP info for multiple hosts. Each member of the list pins a
39 // single host and contains the following nested JSON elements: PKP_HOST,
40 // PKP_PIN_HASHES, PKP_INCLUDE_SUBDOMAINS and PKP_EXPIRATION_DATE.
41 DEFINE_CONTEXT_CONFIG(PKP_LIST)
42 // Name of the host to which public keys should be pinned. See PKP_LIST.
43 DEFINE_CONTEXT_CONFIG(PKP_HOST)
44 // The list of PKP pins. Each pin is BASE64 encoded SHA-256 cryptographic
45 // hash of DER-encoded ASN.1 representation of Subject Public Key Info (SPKI)
46 // of the host X.509 certificate. The pins are prepended with "sha256/" prefix.
47 // See PKP_LIST.
48 DEFINE_CONTEXT_CONFIG(PKP_PIN_HASHES)
49 // Indicates whether the pinning policy should be applied to subdomains of
50 // PKP_HOST. See PKP_LIST.
51 DEFINE_CONTEXT_CONFIG(PKP_INCLUDE_SUBDOMAINS)
52 // Specifies the expiration date for the pins. See PKP_LIST.
53 DEFINE_CONTEXT_CONFIG(PKP_EXPIRATION_DATE)
54
55 // For Testing.
56 DEFINE_CONTEXT_CONFIG(MOCK_CERT_VERIFIER)
OLDNEW
« no previous file with comments | « components/cronet/url_request_context_config.cc ('k') | components/cronet/url_request_context_config_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698