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

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

Issue 2318493003: Clean up PathUtils unused parameters. (Closed)
Patch Set: Fix more. Created 4 years, 3 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/javatests/src/org/chromium/net/ExperimentalOptionsTest.java
diff --git a/components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java b/components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java
index 50798109d8f741f3553ff4a9b8504201e1e8ba45..918ec0282bcf1e4fd35347f6929d296320f3ae65 100644
--- a/components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java
+++ b/components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java
@@ -47,7 +47,7 @@ public class ExperimentalOptionsTest extends CronetTestBase {
@OnlyRunNativeCronet
public void testSetSSLKeyLogFile() throws Exception {
String url = Http2TestServer.getEchoMethodUrl();
- File dir = new File(PathUtils.getDataDirectory(getContext()));
+ File dir = new File(PathUtils.getDataDirectory());
File file = File.createTempFile("ssl_key_log_file", "", dir);
JSONObject experimentalOptions = new JSONObject().put("ssl_key_log_file", file.getPath());

Powered by Google App Engine
This is Rietveld 408576698