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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/HttpCacheTest.java

Issue 2262453002: Cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix stuff. Created 4 years, 4 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: android_webview/javatests/src/org/chromium/android_webview/test/HttpCacheTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/HttpCacheTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/HttpCacheTest.java
index 3c9e234ebee313cdd2b89e50a722abca5281630a..c06f4757253fcc43d711fbfa361aaf96b8e03274 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/HttpCacheTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/HttpCacheTest.java
@@ -72,8 +72,8 @@ public class HttpCacheTest extends AwTestBase {
public void testLegacyHttpCacheDirIsRemovedOnStartup() throws Exception {
Context appContext = getInstrumentation().getTargetContext().getApplicationContext();
PathUtils.setPrivateDataDirectorySuffix(
- AwBrowserProcess.PRIVATE_DATA_DIRECTORY_SUFFIX, appContext);
- File webViewLegacyCacheDir = new File(PathUtils.getDataDirectory(appContext), "Cache");
+ AwBrowserProcess.PRIVATE_DATA_DIRECTORY_SUFFIX);
+ File webViewLegacyCacheDir = new File(PathUtils.getDataDirectory(), "Cache");
if (!webViewLegacyCacheDir.isDirectory()) {
assertTrue(webViewLegacyCacheDir.mkdir());
assertTrue(webViewLegacyCacheDir.isDirectory());

Powered by Google App Engine
This is Rietveld 408576698