| 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.cronet_test_apk; | 5 package org.chromium.net; |
| 6 | 6 |
| 7 import android.content.Context; | 7 import android.content.Context; |
| 8 | 8 |
| 9 import org.chromium.base.JNINamespace; | 9 import org.chromium.base.JNINamespace; |
| 10 | 10 |
| 11 /** | 11 /** |
| 12 * Wrapper class to start an in-process native test server, and get URLs | 12 * Wrapper class to start an in-process native test server, and get URLs |
| 13 * needed to talk to it. | 13 * needed to talk to it. |
| 14 */ | 14 */ |
| 15 @JNINamespace("cronet") | 15 @JNINamespace("cronet") |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 private static native boolean nativeStartNativeTestServer(String filePath); | 50 private static native boolean nativeStartNativeTestServer(String filePath); |
| 51 private static native void nativeShutdownNativeTestServer(); | 51 private static native void nativeShutdownNativeTestServer(); |
| 52 private static native String nativeGetEchoBodyURL(); | 52 private static native String nativeGetEchoBodyURL(); |
| 53 private static native String nativeGetEchoHeaderURL(String header); | 53 private static native String nativeGetEchoHeaderURL(String header); |
| 54 private static native String nativeGetEchoAllHeadersURL(); | 54 private static native String nativeGetEchoAllHeadersURL(); |
| 55 private static native String nativeGetEchoMethodURL(); | 55 private static native String nativeGetEchoMethodURL(); |
| 56 private static native String nativeGetRedirectToEchoBody(); | 56 private static native String nativeGetRedirectToEchoBody(); |
| 57 private static native String nativeGetFileURL(String filePath); | 57 private static native String nativeGetFileURL(String filePath); |
| 58 } | 58 } |
| OLD | NEW |