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

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

Issue 2573483003: [Cronet] Copy certificates before using in tests (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0e9c58788cbafb9b473606c2dd2da07fd6b01011..4745e7ff195ceaf6f76af8d6da77692755db2799 100644
--- a/components/cronet/android/test/src/org/chromium/net/QuicTestServer.java
+++ b/components/cronet/android/test/src/org/chromium/net/QuicTestServer.java
@@ -7,6 +7,7 @@ package org.chromium.net;
import android.content.Context;
import android.os.ConditionVariable;
+import org.chromium.base.ContextUtils;
import org.chromium.base.Log;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
@@ -73,6 +74,7 @@ public final class QuicTestServer {
}
public static long createMockCertVerifier() {
+ TestFilesInstaller.installIfNeeded(ContextUtils.getApplicationContext());
xunjieli 2016/12/12 19:37:21 startQuicTestServer() already calls installIfNeede
pauljensen 2016/12/12 19:52:42 No, this a public API with no documented or enforc
return MockCertVerifier.createMockCertVerifier(CERTS_USED, true);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698