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

Unified Diff: components/cronet/android/test/src/org/chromium/net/QuicTestServer.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/QuicTestServer.java
diff --git a/components/cronet/android/test/src/org/chromium/net/QuicTestServer.java b/components/cronet/android/test/src/org/chromium/net/QuicTestServer.java
index 4b582490050502ca709c6198ec1412343d1b6fc0..614275f04c5f98b013c69eaa96d234a0e77440c6 100644
--- a/components/cronet/android/test/src/org/chromium/net/QuicTestServer.java
+++ b/components/cronet/android/test/src/org/chromium/net/QuicTestServer.java
@@ -10,7 +10,6 @@
import org.chromium.base.Log;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
-import org.chromium.base.test.util.UrlUtils;
/**
* Wrapper class to start a Quic test server.
@@ -34,8 +33,7 @@
throw new IllegalStateException("Quic server is already running");
}
TestFilesInstaller.installIfNeeded(context);
- nativeStartQuicTestServer(
- TestFilesInstaller.getInstalledPath(context), UrlUtils.getIsolatedTestRoot());
+ nativeStartQuicTestServer(TestFilesInstaller.getInstalledPath(context));
sBlock.block();
sBlock.close();
sServerRunning = true;
@@ -82,7 +80,7 @@
sBlock.open();
}
- private static native void nativeStartQuicTestServer(String filePath, String testDataDir);
+ private static native void nativeStartQuicTestServer(String filePath);
private static native void nativeShutdownQuicTestServer();
private static native String nativeGetServerHost();
private static native int nativeGetServerPort();

Powered by Google App Engine
This is Rietveld 408576698