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

Side by Side Diff: net/disk_cache/v2/trace.cc

Issue 121643003: Reorganize net/disk_cache into backend specific directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: #define fixes 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
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 #include "net/disk_cache/trace.h" 5 #include "net/disk_cache/v2/trace.h"
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 #if defined(OS_WIN) 8 #if defined(OS_WIN)
9 #include <windows.h> 9 #include <windows.h>
10 #endif 10 #endif
11 11
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "net/disk_cache/stress_support.h" 15 #include "net/disk_cache/v2/stress_support.h"
16 16
17 // Change this value to 1 to enable tracing on a release build. By default, 17 // Change this value to 1 to enable tracing on a release build. By default,
18 // tracing is enabled only on debug builds. 18 // tracing is enabled only on debug builds.
19 #define ENABLE_TRACING 0 19 #define ENABLE_TRACING 0
20 20
21 #ifndef NDEBUG 21 #ifndef NDEBUG
22 #undef ENABLE_TRACING 22 #undef ENABLE_TRACING
23 #define ENABLE_TRACING 1 23 #define ENABLE_TRACING 1
24 #endif 24 #endif
25 25
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 void DestroyTrace(void) { 183 void DestroyTrace(void) {
184 s_trace_object = NULL; 184 s_trace_object = NULL;
185 } 185 }
186 186
187 void Trace(const char* format, ...) { 187 void Trace(const char* format, ...) {
188 } 188 }
189 189
190 #endif // ENABLE_TRACING 190 #endif // ENABLE_TRACING
191 191
192 } // namespace disk_cache 192 } // namespace disk_cache
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698