Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(409)

Side by Side Diff: components/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactoryConfig.java

Issue 1363723002: [Cronet] Create Builders, rename UrlRequestContext to CronetEngine (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Ben's tests Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.net; 5 package org.chromium.net;
6 6
7 import org.json.JSONException; 7 import org.json.JSONException;
8 8
9 /** 9 /**
10 * A config for HttpUrlRequestFactory, which allows runtime configuration of 10 * A config for HttpUrlRequestFactory, which allows runtime configuration of
11 * HttpUrlRequestFactory. 11 * HttpUrlRequestFactory.
12 * @deprecated Use {@link UrlRequestContextConfig} instead. 12 * @deprecated Use {@link CronetEngine.Builder} instead.
13 */ 13 */
14 @Deprecated 14 @Deprecated
15 public class HttpUrlRequestFactoryConfig extends UrlRequestContextConfig { 15 public class HttpUrlRequestFactoryConfig extends UrlRequestContextConfig {
16 16
17 /** 17 /**
18 * Default config enables SPDY, QUIC, in memory http cache. 18 * Default config enables SPDY, QUIC, in memory http cache.
19 */ 19 */
20 public HttpUrlRequestFactoryConfig() { 20 public HttpUrlRequestFactoryConfig() {
21 super(); 21 super();
22 } 22 }
23 23
24 /** 24 /**
25 * Create config from json serialized using @toString. 25 * Create config from json serialized using @toString.
26 */ 26 */
27 public HttpUrlRequestFactoryConfig(String json) throws JSONException { 27 public HttpUrlRequestFactoryConfig(String json) throws JSONException {
28 super(json); 28 super(json);
29 } 29 }
30 } 30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698