Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: net/disk_cache/blockfile/stress_support.h

Issue 121643003: Reorganize net/disk_cache into backend specific directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ios breakage Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/disk_cache/blockfile/stress_cache.cc ('k') | net/disk_cache/blockfile/trace.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_DISK_CACHE_STRESS_SUPPORT_H_ 5 #ifndef NET_DISK_CACHE_BLOCKFILE_STRESS_SUPPORT_H_
6 #define NET_DISK_CACHE_STRESS_SUPPORT_H_ 6 #define NET_DISK_CACHE_BLOCKFILE_STRESS_SUPPORT_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 9
10 namespace disk_cache { 10 namespace disk_cache {
11 11
12 // Uncomment this line to generate a debug build of stress_cache with checks 12 // Uncomment this line to generate a debug build of stress_cache with checks
13 // to ensure that we are not producing corrupt entries. 13 // to ensure that we are not producing corrupt entries.
14 // #define NET_BUILD_STRESS_CACHE 1 14 // #define NET_BUILD_STRESS_CACHE 1
15 15
16 // Uncomment this line to direct the in-memory disk cache tracing to the base 16 // Uncomment this line to direct the in-memory disk cache tracing to the base
(...skipping 12 matching lines...) Expand all
29 #else 29 #else
30 // We don't support streams with these macros, but that's a small price to pay 30 // We don't support streams with these macros, but that's a small price to pay
31 // to have a straightforward logic here. Please don't add something like 31 // to have a straightforward logic here. Please don't add something like
32 // LogMessageVoidify. 32 // LogMessageVoidify.
33 #define STRESS_NOTREACHED() {} 33 #define STRESS_NOTREACHED() {}
34 #define STRESS_DCHECK(a) {} 34 #define STRESS_DCHECK(a) {}
35 #endif 35 #endif
36 36
37 } // namespace disk_cache 37 } // namespace disk_cache
38 38
39 #endif // NET_DISK_CACHE_STRESS_SUPPORT_H_ 39 #endif // NET_DISK_CACHE_BLOCKFILE_STRESS_SUPPORT_H_
OLDNEW
« no previous file with comments | « net/disk_cache/blockfile/stress_cache.cc ('k') | net/disk_cache/blockfile/trace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698