| Index: components/cronet/android/api/src/org/chromium/net/CronetEngine.java
|
| diff --git a/components/cronet/android/api/src/org/chromium/net/CronetEngine.java b/components/cronet/android/api/src/org/chromium/net/CronetEngine.java
|
| index 9316a7c0e25e02ce30f26e93e09645620fe4e0a6..aae436c7040084ead7a06176e571860d35235d47 100644
|
| --- a/components/cronet/android/api/src/org/chromium/net/CronetEngine.java
|
| +++ b/components/cronet/android/api/src/org/chromium/net/CronetEngine.java
|
| @@ -53,19 +53,6 @@ public abstract class CronetEngine {
|
| }
|
|
|
| /**
|
| - * Creates a config from a JSON string, which was serialized using
|
| - * {@link #toString}.
|
| - *
|
| - * @param context Android {@link Context} for engine to use.
|
| - * @param json JSON string of configuration parameters, which was
|
| - * serialized using {@link #toString}.
|
| - */
|
| - public Builder(Context context, String json) throws JSONException {
|
| - mConfig = new JSONObject(json);
|
| - mContext = context;
|
| - }
|
| -
|
| - /**
|
| * Constructs a User-Agent string including Cronet version, and
|
| * application name and version.
|
| *
|
| @@ -336,8 +323,7 @@ public abstract class CronetEngine {
|
| /**
|
| * Get JSON string representation of the builder.
|
| */
|
| - @Override
|
| - public String toString() {
|
| + String toJSONString() {
|
| return mConfig.toString();
|
| }
|
|
|
|
|