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 import android.os.Build; | 8 import android.os.Build; |
9 | 9 |
10 import java.nio.channels.WritableByteChannel; | 10 import java.nio.channels.WritableByteChannel; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 } | 43 } |
44 | 44 |
45 @Override | 45 @Override |
46 protected HttpUrlRequest createRequest(String url, int requestPriority, | 46 protected HttpUrlRequest createRequest(String url, int requestPriority, |
47 Map<String, String> headers, WritableByteChannel channel, | 47 Map<String, String> headers, WritableByteChannel channel, |
48 HttpUrlRequestListener listener) { | 48 HttpUrlRequestListener listener) { |
49 return new ChromiumUrlRequest(sRequestContext, url, requestPriority, | 49 return new ChromiumUrlRequest(sRequestContext, url, requestPriority, |
50 headers, channel, listener); | 50 headers, channel, listener); |
51 } | 51 } |
52 } | 52 } |
OLD | NEW |