mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 20:42:49 +00:00
Bug 795897 - Force NSPR logging for cache module in release build, r=jduell
This commit is contained in:
parent
772eb2c0c3
commit
ab68f3ae01
6
netwerk/cache/nsCache.h
vendored
6
netwerk/cache/nsCache.h
vendored
@ -15,12 +15,16 @@
|
||||
#define FORCE_PR_LOG
|
||||
#endif
|
||||
|
||||
#if defined(PR_LOG)
|
||||
#error "If nsCache.h #included it must come before any files that #include prlog.h"
|
||||
#endif
|
||||
|
||||
#include "prlog.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nsIFile.h"
|
||||
#include "nsAString.h"
|
||||
#include "prtime.h"
|
||||
#include "nsError.h"
|
||||
#include "prlog.h"
|
||||
|
||||
// PR_LOG args = "format string", arg, arg, ...
|
||||
#if defined(PR_LOGGING)
|
||||
|
2
netwerk/cache/nsCacheEntry.cpp
vendored
2
netwerk/cache/nsCacheEntry.cpp
vendored
@ -5,6 +5,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "nsCache.h"
|
||||
#include "nspr.h"
|
||||
#include "nsCacheEntry.h"
|
||||
#include "nsCacheEntryDescriptor.h"
|
||||
@ -13,7 +14,6 @@
|
||||
#include "nsThreadUtils.h"
|
||||
#include "nsError.h"
|
||||
#include "nsICacheService.h"
|
||||
#include "nsCache.h"
|
||||
#include "nsCacheService.h"
|
||||
#include "nsCacheDevice.h"
|
||||
#include "nsHashKeys.h"
|
||||
|
1
netwerk/cache/nsDiskCacheBinding.cpp
vendored
1
netwerk/cache/nsDiskCacheBinding.cpp
vendored
@ -4,6 +4,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsCache.h"
|
||||
#include <limits.h>
|
||||
|
||||
#include "nscore.h"
|
||||
|
2
netwerk/cache/nsDiskCacheDevice.cpp
vendored
2
netwerk/cache/nsDiskCacheDevice.cpp
vendored
@ -4,6 +4,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsCache.h"
|
||||
#include <limits.h>
|
||||
|
||||
// include files for ftruncate (or equivalent)
|
||||
@ -32,7 +33,6 @@
|
||||
#include "nsDiskCache.h"
|
||||
|
||||
#include "nsCacheService.h"
|
||||
#include "nsCache.h"
|
||||
|
||||
#include "nsDeleteDir.h"
|
||||
|
||||
|
3
netwerk/cache/nsDiskCacheEntry.cpp
vendored
3
netwerk/cache/nsDiskCacheEntry.cpp
vendored
@ -4,13 +4,12 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsCache.h"
|
||||
#include "nsDiskCache.h"
|
||||
#include "nsDiskCacheEntry.h"
|
||||
#include "nsDiskCacheBinding.h"
|
||||
#include "nsCRT.h"
|
||||
|
||||
#include "nsCache.h"
|
||||
|
||||
#include "nsISerializable.h"
|
||||
#include "nsSerializationHelper.h"
|
||||
|
||||
|
3
netwerk/cache/nsDiskCacheMap.cpp
vendored
3
netwerk/cache/nsDiskCacheMap.cpp
vendored
@ -4,14 +4,13 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsCache.h"
|
||||
#include "nsDiskCacheMap.h"
|
||||
#include "nsDiskCacheBinding.h"
|
||||
#include "nsDiskCacheEntry.h"
|
||||
#include "nsDiskCacheDevice.h"
|
||||
#include "nsCacheService.h"
|
||||
|
||||
#include "nsCache.h"
|
||||
|
||||
#include <string.h>
|
||||
#include "nsPrintfCString.h"
|
||||
|
||||
|
1
netwerk/cache/nsDiskCacheStreams.cpp
vendored
1
netwerk/cache/nsDiskCacheStreams.cpp
vendored
@ -5,6 +5,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "nsCache.h"
|
||||
#include "nsDiskCache.h"
|
||||
#include "nsDiskCacheDevice.h"
|
||||
#include "nsDiskCacheStreams.h"
|
||||
|
2
netwerk/cache/nsMemoryCacheDevice.cpp
vendored
2
netwerk/cache/nsMemoryCacheDevice.cpp
vendored
@ -4,13 +4,13 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsCache.h"
|
||||
#include "nsMemoryCacheDevice.h"
|
||||
#include "nsCacheService.h"
|
||||
#include "nsICacheService.h"
|
||||
#include "nsIStorageStream.h"
|
||||
#include "nsICacheVisitor.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsCache.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user