OLD | NEW |
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/blockfile/trace.h" | 5 #include "net/disk_cache/blockfile/trace.h" |
6 | 6 |
| 7 #include <stdarg.h> |
7 #include <stdio.h> | 8 #include <stdio.h> |
8 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
9 #include <windows.h> | 10 #include <windows.h> |
10 #endif | 11 #endif |
11 | 12 |
12 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
13 #include "base/logging.h" | 14 #include "base/logging.h" |
14 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
15 #include "net/disk_cache/blockfile/stress_support.h" | 16 #include "net/disk_cache/blockfile/stress_support.h" |
16 | 17 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 void DestroyTrace(void) { | 184 void DestroyTrace(void) { |
184 s_trace_object = NULL; | 185 s_trace_object = NULL; |
185 } | 186 } |
186 | 187 |
187 void Trace(const char* format, ...) { | 188 void Trace(const char* format, ...) { |
188 } | 189 } |
189 | 190 |
190 #endif // ENABLE_TRACING | 191 #endif // ENABLE_TRACING |
191 | 192 |
192 } // namespace disk_cache | 193 } // namespace disk_cache |
OLD | NEW |