зеркало из https://github.com/mozilla/gecko-dev.git
1b811cea21
This silences two warnings that I see in debug builds. The first is from nsCacheProfilePrefObserver::ReadPrefs, where the nsresult from the NS_APP_CACHE_PARENT_DIR directory getting will be returned even if we successfully get the profile directory. (While we're here, factor out some common functionality in this function.) The second is from dealing with the result of nsCacheService::CreateCustomOfflineDevice. Failing to create an offline device is a normal condition, if the cache size is set to 0 or we have explicitly disabled the offline cache. So don't warn in those cases. Differential Revision: https://phabricator.services.mozilla.com/D70793 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
moz.build | ||
nsApplicationCache.h | ||
nsApplicationCacheService.cpp | ||
nsApplicationCacheService.h | ||
nsCache.cpp | ||
nsCache.h | ||
nsCacheDevice.h | ||
nsCacheEntry.cpp | ||
nsCacheEntry.h | ||
nsCacheEntryDescriptor.cpp | ||
nsCacheEntryDescriptor.h | ||
nsCacheMetaData.cpp | ||
nsCacheMetaData.h | ||
nsCacheRequest.h | ||
nsCacheService.cpp | ||
nsCacheService.h | ||
nsCacheSession.cpp | ||
nsCacheSession.h | ||
nsCacheUtils.cpp | ||
nsCacheUtils.h | ||
nsDeleteDir.cpp | ||
nsDeleteDir.h | ||
nsDiskCache.h | ||
nsDiskCacheDeviceSQL.cpp | ||
nsDiskCacheDeviceSQL.h | ||
nsICache.idl | ||
nsICacheEntryDescriptor.idl | ||
nsICacheListener.idl | ||
nsICacheService.idl | ||
nsICacheSession.idl | ||
nsICacheVisitor.idl |