| Index: components/cronet/android/java/src/org/chromium/net/UrlRequestContextConfig.java
|
| diff --git a/components/cronet/android/java/src/org/chromium/net/UrlRequestContextConfig.java b/components/cronet/android/java/src/org/chromium/net/UrlRequestContextConfig.java
|
| index 810ce12c030ec62c0250b60db4d05597c797c9e5..32b442ab51b02be94cfaf5cb632963db29ac3462 100644
|
| --- a/components/cronet/android/java/src/org/chromium/net/UrlRequestContextConfig.java
|
| +++ b/components/cronet/android/java/src/org/chromium/net/UrlRequestContextConfig.java
|
| @@ -15,14 +15,14 @@ import java.io.File;
|
| * UrlRequestContext.
|
| */
|
| public class UrlRequestContextConfig {
|
| -
|
| /**
|
| - * Default config enables SPDY, QUIC, in memory http cache.
|
| + * Default config enables SPDY, disables QUIC, SDCH and http cache.
|
| */
|
| public UrlRequestContextConfig() {
|
| enableLegacyMode(false);
|
| enableQUIC(false);
|
| enableSPDY(true);
|
| + enableSDCH(false);
|
| enableHttpCache(HttpCache.DISABLED, 0);
|
| }
|
|
|
| @@ -102,6 +102,13 @@ public class UrlRequestContextConfig {
|
| }
|
|
|
| /**
|
| + * Boolean, enable SDCH compression if true.
|
| + */
|
| + public UrlRequestContextConfig enableSDCH(boolean value) {
|
| + return putBoolean(UrlRequestContextConfigList.ENABLE_SDCH, value);
|
| + }
|
| +
|
| + /**
|
| * Enumeration, disable or enable cache in memory or on disk.
|
| */
|
| public enum HttpCache {
|
|
|