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 0b09dafa3b540f78b530c717fbf2fc19b19649f3..e6f5ef04884cf5e7c919b32f7e23f7c62c477096 100644 |
--- a/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java |
+++ b/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java |
@@ -7,6 +7,7 @@ package org.chromium.net; |
import android.content.Context; |
import org.chromium.base.annotations.JNINamespace; |
+import org.chromium.base.test.util.UrlUtils; |
/** |
* Wrapper class to start an in-process native test server, and get URLs |
@@ -20,7 +21,7 @@ public final class NativeTestServer { |
public static boolean startNativeTestServer(Context context) { |
TestFilesInstaller.installIfNeeded(context); |
return nativeStartNativeTestServer( |
- TestFilesInstaller.getInstalledPath(context)); |
+ TestFilesInstaller.getInstalledPath(context), UrlUtils.getIsolatedTestRoot()); |
} |
public static void shutdownNativeTestServer() { |
@@ -82,7 +83,7 @@ public final class NativeTestServer { |
return nativeIsDataReductionProxySupported(); |
} |
- private static native boolean nativeStartNativeTestServer(String filePath); |
+ private static native boolean nativeStartNativeTestServer(String filePath, String testDataDir); |
private static native void nativeShutdownNativeTestServer(); |
private static native String nativeGetEchoBodyURL(); |
private static native String nativeGetEchoHeaderURL(String header); |