| Index: components/cronet/url_request_context_config_list.h
|
| diff --git a/components/cronet/url_request_context_config_list.h b/components/cronet/url_request_context_config_list.h
|
| index f690061bfe114a69a64e8619f1ca6a748cef49ec..dd06ef2acb227d2edfcbc4e8388b2e6ccd098f85 100644
|
| --- a/components/cronet/url_request_context_config_list.h
|
| +++ b/components/cronet/url_request_context_config_list.h
|
| @@ -7,7 +7,8 @@
|
| #ifndef DEFINE_CONTEXT_CONFIG
|
| #error "DEFINE_CONTEXT_CONFIG should be defined before including this file"
|
| #endif
|
| -// See HttpUrlRequestFactoryConfig.java for description of these parameters.
|
| +// See CronetEngine.Builder class in CronetEngine.java for description of these
|
| +// parameters.
|
| DEFINE_CONTEXT_CONFIG(USER_AGENT)
|
| DEFINE_CONTEXT_CONFIG(STORAGE_PATH)
|
| DEFINE_CONTEXT_CONFIG(ENABLE_LEGACY_MODE)
|
| @@ -34,5 +35,22 @@ DEFINE_CONTEXT_CONFIG(QUIC_HINT_ALT_PORT)
|
|
|
| DEFINE_CONTEXT_CONFIG(QUIC_OPTIONS)
|
|
|
| +// The list of HPKP info for multiple hosts. Each member of the list pins a
|
| +// single host and contains the following nested JSON elements: HPKP_HOST,
|
| +// HPKP_PIN_HASHES, HPKP_INCLUDE_SUBDOMAINS and HPKP_EXPIRATION_DATE.
|
| +DEFINE_CONTEXT_CONFIG(HPKP_LIST)
|
| +// Name of the host to which public keys should be pinned. See HPKP_LIST.
|
| +DEFINE_CONTEXT_CONFIG(HPKP_HOST)
|
| +// The list of HPKP pins. Each pin is BASE64 encoded SHA-256 cryptographic
|
| +// hash of DER-encoded ASN.1 representation of Subject Public Key Info (SPKI)
|
| +// of the host X.509 certificate. The pins are prepended with "sha256/" prefix.
|
| +// See HPKP_LIST.
|
| +DEFINE_CONTEXT_CONFIG(HPKP_PIN_HASHES)
|
| +// Indicates whether the pinning policy should be applied to subdomains of
|
| +// HPKP_HOST. See HPKP_LIST.
|
| +DEFINE_CONTEXT_CONFIG(HPKP_INCLUDE_SUBDOMAINS)
|
| +// Specifies the expiration date for the pins. See HPKP_LIST.
|
| +DEFINE_CONTEXT_CONFIG(HPKP_EXPIRATION_DATE)
|
| +
|
| // For Testing.
|
| DEFINE_CONTEXT_CONFIG(MOCK_CERT_VERIFIER)
|
|
|