OLD | NEW |
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 android.content.Context; | 7 import android.content.Context; |
8 | 8 |
9 import java.nio.channels.WritableByteChannel; | 9 import java.nio.channels.WritableByteChannel; |
10 import java.util.Map; | 10 import java.util.Map; |
(...skipping 27 matching lines...) Expand all Loading... |
38 } | 38 } |
39 | 39 |
40 @Override | 40 @Override |
41 protected HttpUrlRequest createRequest(String url, int requestPriority, | 41 protected HttpUrlRequest createRequest(String url, int requestPriority, |
42 Map<String, String> headers, WritableByteChannel channel, | 42 Map<String, String> headers, WritableByteChannel channel, |
43 HttpUrlRequestListener listener) { | 43 HttpUrlRequestListener listener) { |
44 return new HttpUrlConnectionUrlRequest(mContext, url, requestPriority, | 44 return new HttpUrlConnectionUrlRequest(mContext, url, requestPriority, |
45 headers, channel, listener); | 45 headers, channel, listener); |
46 } | 46 } |
47 } | 47 } |
OLD | NEW |