summaryrefslogtreecommitdiffstats
path: root/components/cronet/url_request_context_config.h
diff options
context:
space:
mode:
authorxunjieli <xunjieli@chromium.org>2015-04-29 10:36:14 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-29 17:36:59 +0000
commitb8a6d56ffe39823af7b09ce6b816d3cd9fbac2a6 (patch)
tree60e0bafa48d564006038b39606871f82632337b5 /components/cronet/url_request_context_config.h
parente9ac6f320030c764af9dca7f662d2f828c1aa223 (diff)
downloadchromium_src-b8a6d56ffe39823af7b09ce6b816d3cd9fbac2a6.zip
chromium_src-b8a6d56ffe39823af7b09ce6b816d3cd9fbac2a6.tar.gz
chromium_src-b8a6d56ffe39823af7b09ce6b816d3cd9fbac2a6.tar.bz2
Enable sdch in Cronet
This CL combined rdsmith@'s CL(747453004) and mef@'s CL(1073193002), and added tests to make sure sdch works for both the old and the new API. BUG=414885 Review URL: https://codereview.chromium.org/1085903002 Cr-Commit-Position: refs/heads/master@{#327517}
Diffstat (limited to 'components/cronet/url_request_context_config.h')
-rw-r--r--components/cronet/url_request_context_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/cronet/url_request_context_config.h b/components/cronet/url_request_context_config.h
index 30530f5..a74f440 100644
--- a/components/cronet/url_request_context_config.h
+++ b/components/cronet/url_request_context_config.h
@@ -58,6 +58,8 @@ struct URLRequestContextConfig {
bool enable_quic;
// Enable SPDY.
bool enable_spdy;
+ // Enable SDCH.
+ bool enable_sdch;
// Type of http cache: "HTTP_CACHE_DISABLED", "HTTP_CACHE_DISK" or
// "HTTP_CACHE_IN_MEMORY".
std::string http_cache;