Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Unified Diff: components/cronet/android/test/src/org/chromium/net/NativeTestServer.java

Issue 2044523003: Revert of 👔 Reland of Move side-loaded test data /sdcard -> /sdcard/gtestdata (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e6f5ef04884cf5e7c919b32f7e23f7c62c477096..0b09dafa3b540f78b530c717fbf2fc19b19649f3 100644
--- a/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java
+++ b/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java
@@ -7,7 +7,6 @@
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
@@ -21,7 +20,7 @@
public static boolean startNativeTestServer(Context context) {
TestFilesInstaller.installIfNeeded(context);
return nativeStartNativeTestServer(
- TestFilesInstaller.getInstalledPath(context), UrlUtils.getIsolatedTestRoot());
+ TestFilesInstaller.getInstalledPath(context));
}
public static void shutdownNativeTestServer() {
@@ -83,7 +82,7 @@
return nativeIsDataReductionProxySupported();
}
- private static native boolean nativeStartNativeTestServer(String filePath, String testDataDir);
+ private static native boolean nativeStartNativeTestServer(String filePath);
private static native void nativeShutdownNativeTestServer();
private static native String nativeGetEchoBodyURL();
private static native String nativeGetEchoHeaderURL(String header);

Powered by Google App Engine
This is Rietveld 408576698