diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-22 20:10:23 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-22 20:10:23 -0500 |
commit | bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1 (patch) | |
tree | 2166aa86e8378b6973e9ebc95b748ad9c632abb1 /netwerk/cache2/CacheStorageService.cpp | |
parent | 881c1e5f180c537b003b891dce7d7f114800ff3e (diff) | |
download | UXP-bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1.tar UXP-bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1.tar.gz UXP-bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1.tar.lz UXP-bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1.tar.xz UXP-bdad2357a1f0d2aca7f1106f3195d1fd929dc1d1.zip |
Issue #1053 - Remove android support from netwerk
Diffstat (limited to 'netwerk/cache2/CacheStorageService.cpp')
-rw-r--r-- | netwerk/cache2/CacheStorageService.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/netwerk/cache2/CacheStorageService.cpp b/netwerk/cache2/CacheStorageService.cpp index 3ee1e15cd..a27b082c4 100644 --- a/netwerk/cache2/CacheStorageService.cpp +++ b/netwerk/cache2/CacheStorageService.cpp @@ -569,17 +569,11 @@ private: { nsCacheService::GetDiskCacheDirectory(getter_AddRefs(mCache1Dir)); CacheFileIOManager::GetCacheDirectory(getter_AddRefs(mCache2Dir)); -#if defined(MOZ_WIDGET_ANDROID) - CacheFileIOManager::GetProfilelessCacheDirectory(getter_AddRefs(mCache2Profileless)); -#endif } virtual ~CleaupCacheDirectoriesRunnable() {} uint32_t mVersion, mActive; nsCOMPtr<nsIFile> mCache1Dir, mCache2Dir; -#if defined(MOZ_WIDGET_ANDROID) - nsCOMPtr<nsIFile> mCache2Profileless; -#endif }; // static @@ -613,13 +607,6 @@ NS_IMETHODIMP CleaupCacheDirectoriesRunnable::Run() if (mCache2Dir) { nsDeleteDir::RemoveOldTrashes(mCache2Dir); } -#if defined(MOZ_WIDGET_ANDROID) - if (mCache2Profileless) { - nsDeleteDir::RemoveOldTrashes(mCache2Profileless); - // Always delete the profileless cache on Android - nsDeleteDir::DeleteDir(mCache2Profileless, true, 30000); - } -#endif // Delete the non-active version cache data right now if (mVersion == mActive) { |