From 92edec6f587ae6b86c9b27947113997972ce0c1a Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 22 Feb 2020 20:10:23 -0500 Subject: Issue #1053 - Remove android support from netwerk --- netwerk/cache2/CacheFileIOManager.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'netwerk/cache2/CacheFileIOManager.h') 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 mIOThread; nsCOMPtr 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 mCacheProfilelessDirectory; -#endif bool mTreeCreated; bool mTreeCreationFailed; CacheFileHandles mHandles; -- cgit v1.2.3