OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include "webrtc/system_wrappers/source/trace_impl.h" | 11 #include "webrtc/system_wrappers/source/trace_impl.h" |
12 | 12 |
13 #include <assert.h> | 13 #include <assert.h> |
14 #include <stdarg.h> | 14 #include <stdarg.h> |
15 #include <stdio.h> | 15 #include <stdio.h> |
16 #include <string.h> | 16 #include <string.h> |
17 | 17 |
18 #include "webrtc/base/atomicops.h" | 18 #include "webrtc/rtc_base/atomicops.h" |
19 #include "webrtc/base/platform_thread.h" | 19 #include "webrtc/rtc_base/platform_thread.h" |
20 #ifdef _WIN32 | 20 #ifdef _WIN32 |
21 #include "webrtc/system_wrappers/source/trace_win.h" | 21 #include "webrtc/system_wrappers/source/trace_win.h" |
22 #else | 22 #else |
23 #include "webrtc/system_wrappers/source/trace_posix.h" | 23 #include "webrtc/system_wrappers/source/trace_posix.h" |
24 #endif // _WIN32 | 24 #endif // _WIN32 |
25 | 25 |
26 #define KEY_LEN_CHARS 31 | 26 #define KEY_LEN_CHARS 31 |
27 | 27 |
28 #ifdef _WIN32 | 28 #ifdef _WIN32 |
29 #pragma warning(disable:4355) | 29 #pragma warning(disable:4355) |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 va_end(args); | 574 va_end(args); |
575 buff = temp_buff; | 575 buff = temp_buff; |
576 } | 576 } |
577 trace->AddImpl(level, module, id, buff); | 577 trace->AddImpl(level, module, id, buff); |
578 } | 578 } |
579 ReturnTrace(); | 579 ReturnTrace(); |
580 } | 580 } |
581 } | 581 } |
582 | 582 |
583 } // namespace webrtc | 583 } // namespace webrtc |
OLD | NEW |