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

Side by Side Diff: webrtc/system_wrappers/include/trace.h

Issue 1425693005: system_wrappers: Fix include header guards. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 1 month 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
OLDNEW
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 * System independent wrapper for logging runtime information to file. 10 * System independent wrapper for logging runtime information to file.
11 * Note: All log messages will be written to the same trace file. 11 * Note: All log messages will be written to the same trace file.
12 * Note: If too many messages are written to file there will be a build up of 12 * Note: If too many messages are written to file there will be a build up of
13 * messages. Apply filtering to avoid that. 13 * messages. Apply filtering to avoid that.
14 */ 14 */
15 15
16 #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_TRACE_H_ 16 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_TRACE_H_
17 #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_TRACE_H_ 17 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_TRACE_H_
18 18
19 #include "webrtc/common_types.h" 19 #include "webrtc/common_types.h"
20 #include "webrtc/typedefs.h" 20 #include "webrtc/typedefs.h"
21 21
22 namespace webrtc { 22 namespace webrtc {
23 23
24 #if defined(WEBRTC_RESTRICT_LOGGING) 24 #if defined(WEBRTC_RESTRICT_LOGGING)
25 // Disable all TRACE macros. The LOG macro is still functional. 25 // Disable all TRACE macros. The LOG macro is still functional.
26 #define WEBRTC_TRACE true ? (void) 0 : Trace::Add 26 #define WEBRTC_TRACE true ? (void) 0 : Trace::Add
27 #else 27 #else
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const TraceModule module, 82 const TraceModule module,
83 const int32_t id, 83 const int32_t id,
84 const char* msg, ...); 84 const char* msg, ...);
85 85
86 private: 86 private:
87 static volatile int level_filter_; 87 static volatile int level_filter_;
88 }; 88 };
89 89
90 } // namespace webrtc 90 } // namespace webrtc
91 91
92 #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_TRACE_H_ 92 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_TRACE_H_
OLDNEW
« no previous file with comments | « webrtc/system_wrappers/include/timestamp_extrapolator.h ('k') | webrtc/system_wrappers/include/utf_util_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698