| 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.util.Log; | 7 import android.util.Log; |
| 8 import android.util.Pair; | 8 import android.util.Pair; |
| 9 | 9 |
| 10 import org.chromium.base.CalledByNative; | |
| 11 import org.chromium.base.JNINamespace; | |
| 12 import org.chromium.base.NativeClassQualifiedName; | |
| 13 import org.chromium.base.VisibleForTesting; | 10 import org.chromium.base.VisibleForTesting; |
| 11 import org.chromium.base.annotations.CalledByNative; |
| 12 import org.chromium.base.annotations.JNINamespace; |
| 13 import org.chromium.base.annotations.NativeClassQualifiedName; |
| 14 | 14 |
| 15 import java.nio.ByteBuffer; | 15 import java.nio.ByteBuffer; |
| 16 import java.util.ArrayList; | 16 import java.util.ArrayList; |
| 17 import java.util.Collections; | 17 import java.util.Collections; |
| 18 import java.util.List; | 18 import java.util.List; |
| 19 import java.util.Map; | 19 import java.util.Map; |
| 20 import java.util.TreeMap; | 20 import java.util.TreeMap; |
| 21 import java.util.concurrent.Executor; | 21 import java.util.concurrent.Executor; |
| 22 import java.util.concurrent.RejectedExecutionException; | 22 import java.util.concurrent.RejectedExecutionException; |
| 23 | 23 |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 | 764 |
| 765 @NativeClassQualifiedName("CronetURLRequestAdapter") | 765 @NativeClassQualifiedName("CronetURLRequestAdapter") |
| 766 private native String nativeGetProxyServer(long nativePtr); | 766 private native String nativeGetProxyServer(long nativePtr); |
| 767 | 767 |
| 768 @NativeClassQualifiedName("CronetURLRequestAdapter") | 768 @NativeClassQualifiedName("CronetURLRequestAdapter") |
| 769 private native void nativeGetStatus(long nativePtr, StatusListener listener)
; | 769 private native void nativeGetStatus(long nativePtr, StatusListener listener)
; |
| 770 | 770 |
| 771 @NativeClassQualifiedName("CronetURLRequestAdapter") | 771 @NativeClassQualifiedName("CronetURLRequestAdapter") |
| 772 private native boolean nativeGetWasCached(long nativePtr); | 772 private native boolean nativeGetWasCached(long nativePtr); |
| 773 } | 773 } |
| OLD | NEW |