summaryrefslogtreecommitdiffstats
path: root/netwerk/cache2/CacheFileIOManager.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-22 20:10:23 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-22 20:10:23 -0500
commitbdad2357a1f0d2aca7f1106f3195d1fd929dc1d1 (patch)
tree2166aa86e8378b6973e9ebc95b748ad9c632abb1 /netwerk/cache2/CacheFileIOManager.h
parent881c1e5f180c537b003b891dce7d7f114800ff3e (diff)
downloadUXP-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/CacheFileIOManager.h')
-rw-r--r--netwerk/cache2/CacheFileIOManager.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/netwerk/cache2/CacheFileIOManager.h b/netwerk/cache2/CacheFileIOManager.h
index 5ac812da5..8a51b5a0e 100644
--- a/netwerk/cache2/CacheFileIOManager.h
+++ b/netwerk/cache2/CacheFileIOManager.h
@@ -346,9 +346,6 @@ public:
};
static void GetCacheDirectory(nsIFile** result);
-#if defined(MOZ_WIDGET_ANDROID)
- static void GetProfilelessCacheDirectory(nsIFile** result);
-#endif
// Calls synchronously OnEntryInfo for an entry with the given hash.
// Tries to find an existing entry in the service hashtables first, if not
@@ -459,13 +456,6 @@ private:
bool mShuttingDown;
RefPtr<CacheIOThread> mIOThread;
nsCOMPtr<nsIFile> mCacheDirectory;
-#if defined(MOZ_WIDGET_ANDROID)
- // On Android we add the active profile directory name between the path
- // and the 'cache2' leaf name. However, to delete any leftover data from
- // times before we were doing it, we still need to access the directory
- // w/o the profile name in the path. Here it is stored.
- nsCOMPtr<nsIFile> mCacheProfilelessDirectory;
-#endif
bool mTreeCreated;
bool mTreeCreationFailed;
CacheFileHandles mHandles;