| Index: components/cronet/android/test/src/org/chromium/net/NativeTestServer.java
|
| diff --git a/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java b/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java
|
| index d0437b32cbd05ac0c867eef5194e269c70ecfdef..9c80c260231fb94397b1cf98d02feff48a3ae6a9 100644
|
| --- a/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java
|
| +++ b/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java
|
| @@ -91,6 +91,10 @@ public final class NativeTestServer {
|
| return nativeGetFileURL("/notfound.html");
|
| }
|
|
|
| + public static String getHostPort() {
|
| + return nativeGetHostPort();
|
| + }
|
| +
|
| @CalledByNative
|
| private static void onHostResolverProcRegistered() {
|
| sHostResolverBlock.open();
|
| @@ -107,4 +111,5 @@ public final class NativeTestServer {
|
| private static native String nativeGetRedirectToEchoBody();
|
| private static native String nativeGetFileURL(String filePath);
|
| private static native String nativeGetSdchURL();
|
| + private static native String nativeGetHostPort();
|
| }
|
|
|