| Index: components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java
|
| diff --git a/components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java b/components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java
|
| index f1e3b592c48b35e00bdb4cb79c7e6f506c3a34cf..02b521ac2cd9cf6a0edcddf690c3ead3435bebc6 100644
|
| --- a/components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java
|
| +++ b/components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java
|
| @@ -26,7 +26,7 @@ public class CronetHttpURLStreamHandler extends URLStreamHandler {
|
| * Establishes a new connection to the resource specified by the URL url.
|
| */
|
| @Override
|
| - protected URLConnection openConnection(URL url) throws IOException {
|
| + public URLConnection openConnection(URL url) throws IOException {
|
| String protocol = url.getProtocol();
|
| if ("http".equals(protocol) || "https".equals(protocol)) {
|
| return new CronetHttpURLConnection(url, mUrlRequestContext);
|
| @@ -40,7 +40,7 @@ public class CronetHttpURLStreamHandler extends URLStreamHandler {
|
| * using the given proxy.
|
| */
|
| @Override
|
| - protected URLConnection openConnection(URL url, Proxy proxy) {
|
| + public URLConnection openConnection(URL url, Proxy proxy) {
|
| throw new UnsupportedOperationException();
|
| }
|
| }
|
|
|