Bug 924938 - Correctly include CacheLog.h as the first file in a module to force logging in opt builds, r=michal
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
* 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 "CacheLog.h"
|
||||
#include "AppCacheStorage.h"
|
||||
#include "CacheStorageService.h"
|
||||
#include "CacheLog.h"
|
||||
|
||||
#include "OldWrappers.h"
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
* 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 "CacheLog.h"
|
||||
#include "CacheFileChunk.h"
|
||||
|
||||
#include "CacheLog.h"
|
||||
#include "CacheFile.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "nsAlgorithm.h"
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
* 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 "CacheLog.h"
|
||||
#include "CacheFileIOManager.h"
|
||||
|
||||
#include "CacheLog.h"
|
||||
#include "../cache/nsCacheUtils.h"
|
||||
#include "CacheHashUtils.h"
|
||||
#include "CacheStorageService.h"
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
* 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 "CacheLog.h"
|
||||
#include "CacheFileInputStream.h"
|
||||
|
||||
#include "CacheLog.h"
|
||||
#include "CacheFile.h"
|
||||
#include "nsStreamUtils.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
* 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 "CacheLog.h"
|
||||
#include "CacheFileMetadata.h"
|
||||
|
||||
#include "CacheLog.h"
|
||||
#include "CacheFileIOManager.h"
|
||||
#include "CacheHashUtils.h"
|
||||
#include "CacheFileChunk.h"
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
* 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 "CacheLog.h"
|
||||
#include "CacheFileOutputStream.h"
|
||||
|
||||
#include "CacheLog.h"
|
||||
#include "CacheFile.h"
|
||||
#include "nsStreamUtils.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
@@ -5,7 +5,13 @@
|
||||
#ifndef CacheLog__h__
|
||||
#define CacheLog__h__
|
||||
|
||||
#if defined(MOZ_LOGGING)
|
||||
#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"
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
* 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 "CacheLog.h"
|
||||
#include "CacheStorage.h"
|
||||
#include "CacheStorageService.h"
|
||||
#include "CacheEntry.h"
|
||||
#include "CacheLog.h"
|
||||
|
||||
#include "OldWrappers.h"
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Stuff to link the old imp to the new api - will go away!
|
||||
|
||||
#include "CacheLog.h"
|
||||
#include "OldWrappers.h"
|
||||
#include "CacheStorage.h"
|
||||
#include "CacheStorageService.h"
|
||||
#include "CacheLog.h"
|
||||
#include "LoadContextInfo.h"
|
||||
|
||||
#include "nsIURI.h"
|
||||
|
||||
Reference in New Issue
Block a user