diff options
author | mef <mef@chromium.org> | 2016-02-09 12:14:23 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-09 20:15:32 +0000 |
commit | c5da5713830e1c6ad09c75638e06f018396ca40d (patch) | |
tree | 5222c55a71bce4126118b47a3f0feefd51ff508f /components/cronet/url_request_context_config.h | |
parent | 11565e0ec4c1c02bddaf1ed8ac726124e5c61400 (diff) | |
download | chromium_src-c5da5713830e1c6ad09c75638e06f018396ca40d.zip chromium_src-c5da5713830e1c6ad09c75638e06f018396ca40d.tar.gz chromium_src-c5da5713830e1c6ad09c75638e06f018396ca40d.tar.bz2 |
[Cronet] Expose quic_user_agent_id and quic_prefer_aes config options.
- QUIC will soon require that user agent id field is non-empty, but normal User-Agent request header is too rich and verbose to be used for this purpose. The app can override default value using 'user_agent_id' quic experimental option.
- prefer_aes experimental option is needed to experiment with performance of using AES instead of ChaCha20.
BUG=575771
Review URL: https://codereview.chromium.org/1665503002
Cr-Commit-Position: refs/heads/master@{#374438}
Diffstat (limited to 'components/cronet/url_request_context_config.h')
-rw-r--r-- | components/cronet/url_request_context_config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/cronet/url_request_context_config.h b/components/cronet/url_request_context_config.h index 29e1c85..4031447 100644 --- a/components/cronet/url_request_context_config.h +++ b/components/cronet/url_request_context_config.h @@ -73,6 +73,8 @@ struct URLRequestContextConfig { URLRequestContextConfig( // Enable QUIC. bool enable_quic, + // QUIC User Agent ID. + const std::string& quic_user_agent_id, // Enable SPDY. bool enable_spdy, // Enable SDCH. @@ -109,6 +111,8 @@ struct URLRequestContextConfig { // Enable QUIC. const bool enable_quic; + // QUIC User Agent ID. + const std::string quic_user_agent_id; // Enable SPDY. const bool enable_spdy; // Enable SDCH. |