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

Unified Diff: net/test/android/javatests/src/org/chromium/net/test/util/CertTestUtil.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: net/test/android/javatests/src/org/chromium/net/test/util/CertTestUtil.java
diff --git a/net/test/android/javatests/src/org/chromium/net/test/util/CertTestUtil.java b/net/test/android/javatests/src/org/chromium/net/test/util/CertTestUtil.java
index 9994da921ffacd16072a8e5556d7a1858afe07a8..dc2770e81076c7fe0107836f5e95f57673235cd5 100644
--- a/net/test/android/javatests/src/org/chromium/net/test/util/CertTestUtil.java
+++ b/net/test/android/javatests/src/org/chromium/net/test/util/CertTestUtil.java
@@ -6,7 +6,7 @@
import android.util.Base64;
-import org.chromium.base.test.util.UrlUtils;
+import org.chromium.base.PathUtils;
import java.io.BufferedReader;
import java.io.FileReader;
@@ -23,7 +23,7 @@
* The location of the directory that contains certificates for testing.
*/
public static final String CERTS_DIRECTORY =
- UrlUtils.getIsolatedTestFilePath("net/data/ssl/certificates/");
+ PathUtils.getExternalStorageDirectory() + "/net/data/ssl/certificates/";
private static final String BEGIN_MARKER = "-----BEGIN CERTIFICATE-----";
private static final String END_MARKER = "-----END CERTIFICATE-----";

Powered by Google App Engine
This is Rietveld 408576698