Index: components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java |
diff --git a/components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java b/components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java |
index bf20bc0f727b806b24e45efeb2d2d7fae6cadf29..dafc97be21103b77ed90edaf4f996db45e0dd9a5 100644 |
--- a/components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java |
+++ b/components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java |
@@ -5,6 +5,7 @@ |
package org.chromium.net; |
import org.chromium.base.annotations.JNINamespace; |
+import org.chromium.base.test.util.UrlUtils; |
/** |
* A Java wrapper to supply a net::MockCertVerifier which can be then passed |
@@ -22,8 +23,8 @@ public class MockCertVerifier { |
* @return a pointer to the newly created net::MockCertVerifier. |
*/ |
public static long createMockCertVerifier(String[] certs) { |
- return nativeCreateMockCertVerifier(certs); |
+ return nativeCreateMockCertVerifier(certs, UrlUtils.getIsolatedTestRoot()); |
} |
- private static native long nativeCreateMockCertVerifier(String[] certs); |
+ private static native long nativeCreateMockCertVerifier(String[] certs, String testDataDir); |
} |