| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/trace.h" |
| 6 | 6 |
| 7 #include <stdio.h> |
| 7 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
| 8 #include <windows.h> | 9 #include <windows.h> |
| 9 #endif | 10 #endif |
| 10 | 11 |
| 11 #include "base/logging.h" | 12 #include "base/logging.h" |
| 12 | 13 |
| 13 // Change this value to 1 to enable tracing on a release build. By default, | 14 // Change this value to 1 to enable tracing on a release build. By default, |
| 14 // tracing is enabled only on debug builds. | 15 // tracing is enabled only on debug builds. |
| 15 #define ENABLE_TRACING 0 | 16 #define ENABLE_TRACING 0 |
| 16 | 17 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 125 |
| 125 void DestroyTrace(void) { | 126 void DestroyTrace(void) { |
| 126 } | 127 } |
| 127 | 128 |
| 128 void Trace(const char* format, ...) { | 129 void Trace(const char* format, ...) { |
| 129 } | 130 } |
| 130 | 131 |
| 131 #endif // ENABLE_TRACING | 132 #endif // ENABLE_TRACING |
| 132 | 133 |
| 133 } // namespace disk_cache | 134 } // namespace disk_cache |
| OLD | NEW |