Index: components/cronet/android/test/native_test_server.cc |
diff --git a/components/cronet/android/test/native_test_server.cc b/components/cronet/android/test/native_test_server.cc |
index 60bd3a0070f05ece18867b1c09476d101c118382..d2b1abe3dcc253c71dfdd580c618596165628e99 100644 |
--- a/components/cronet/android/test/native_test_server.cc |
+++ b/components/cronet/android/test/native_test_server.cc |
@@ -18,7 +18,6 @@ |
#include "base/path_service.h" |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
-#include "base/test/test_support_android.h" |
#include "components/cronet/android/test/cronet_test_util.h" |
#include "jni/NativeTestServer_jni.h" |
#include "net/base/host_port_pair.h" |
@@ -165,16 +164,10 @@ |
jboolean StartNativeTestServer(JNIEnv* env, |
const JavaParamRef<jclass>& jcaller, |
- const JavaParamRef<jstring>& jtest_files_root, |
- const JavaParamRef<jstring>& jtest_data_dir) { |
+ const JavaParamRef<jstring>& jtest_files_root) { |
// Shouldn't happen. |
if (g_test_server) |
return false; |
- |
- base::FilePath test_data_dir( |
- base::android::ConvertJavaStringToUTF8(env, jtest_data_dir)); |
- base::InitAndroidTestPaths(test_data_dir); |
- |
g_test_server = new net::EmbeddedTestServer(); |
g_test_server->RegisterRequestHandler( |
base::Bind(&NativeTestServerRequestHandler)); |