| Index: components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactoryConfig.java
|
| diff --git a/components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactoryConfig.java b/components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactoryConfig.java
|
| index 3da1c38ca1fd9486e1c971b3f7761712f224fb69..67f3b9d5a1ddc9137b2e6c0aefc694d482174f50 100644
|
| --- a/components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactoryConfig.java
|
| +++ b/components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactoryConfig.java
|
| @@ -4,27 +4,28 @@
|
|
|
| package org.chromium.net;
|
|
|
| +import android.content.Context;
|
| +
|
| import org.json.JSONException;
|
|
|
| /**
|
| * A config for HttpUrlRequestFactory, which allows runtime configuration of
|
| * HttpUrlRequestFactory.
|
| - * @deprecated Use {@link UrlRequestContextConfig} instead.
|
| + * @deprecated Use {@link CronetEngine.Builder} instead.
|
| */
|
| @Deprecated
|
| -public class HttpUrlRequestFactoryConfig extends UrlRequestContextConfig {
|
| -
|
| +public class HttpUrlRequestFactoryConfig extends CronetEngine.Builder {
|
| /**
|
| * Default config enables SPDY, QUIC, in memory http cache.
|
| */
|
| - public HttpUrlRequestFactoryConfig() {
|
| - super();
|
| + public HttpUrlRequestFactoryConfig(Context context) {
|
| + super(context);
|
| }
|
|
|
| /**
|
| * Create config from json serialized using @toString.
|
| */
|
| - public HttpUrlRequestFactoryConfig(String json) throws JSONException {
|
| - super(json);
|
| + public HttpUrlRequestFactoryConfig(Context context, String json) throws JSONException {
|
| + super(context, json);
|
| }
|
| }
|
|
|