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 org.chromium.base.UsedByReflection; | 10 import org.chromium.base.annotations.UsedByReflection; |
11 | 11 |
12 import java.nio.channels.WritableByteChannel; | 12 import java.nio.channels.WritableByteChannel; |
13 import java.util.Map; | 13 import java.util.Map; |
14 | 14 |
15 /** | 15 /** |
16 * Network request factory using the native http stack implementation. | 16 * Network request factory using the native http stack implementation. |
17 */ | 17 */ |
18 @UsedByReflection("HttpUrlRequestFactory.java") | 18 @UsedByReflection("HttpUrlRequestFactory.java") |
19 public class ChromiumUrlRequestFactory extends HttpUrlRequestFactory { | 19 public class ChromiumUrlRequestFactory extends HttpUrlRequestFactory { |
20 private ChromiumUrlRequestContext mRequestContext; | 20 private ChromiumUrlRequestContext mRequestContext; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 @Override | 65 @Override |
66 public void stopNetLog() { | 66 public void stopNetLog() { |
67 mRequestContext.stopNetLog(); | 67 mRequestContext.stopNetLog(); |
68 } | 68 } |
69 | 69 |
70 public ChromiumUrlRequestContext getRequestContext() { | 70 public ChromiumUrlRequestContext getRequestContext() { |
71 return mRequestContext; | 71 return mRequestContext; |
72 } | 72 } |
73 } | 73 } |
OLD | NEW |