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

Side by Side Diff: webrtc/system_wrappers/include/logging.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 10
(...skipping 30 matching lines...) Expand all
41 // the method. For example: 41 // the method. For example:
42 // Foo(int bar, int baz) { 42 // Foo(int bar, int baz) {
43 // LOG_API2(bar, baz); 43 // LOG_API2(bar, baz);
44 // } 44 // }
45 // 45 //
46 // LOG_FERR is a shortcut for logging a failed function call. For example: 46 // LOG_FERR is a shortcut for logging a failed function call. For example:
47 // if (!Foo(bar)) { 47 // if (!Foo(bar)) {
48 // LOG_FERR1(LS_WARNING, Foo, bar); 48 // LOG_FERR1(LS_WARNING, Foo, bar);
49 // } 49 // }
50 50
51 #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_LOGGING_H_ 51 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_LOGGING_H_
52 #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_LOGGING_H_ 52 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_LOGGING_H_
53 53
54 #include <sstream> 54 #include <sstream>
55 55
56 namespace webrtc { 56 namespace webrtc {
57 57
58 ////////////////////////////////////////////////////////////////////// 58 //////////////////////////////////////////////////////////////////////
59 59
60 // Note that the non-standard LoggingSeverity aliases exist because they are 60 // Note that the non-standard LoggingSeverity aliases exist because they are
61 // still in broad use. The meanings of the levels are: 61 // still in broad use. The meanings of the levels are:
62 // LS_SENSITIVE: Information which should only be logged with the consent 62 // LS_SENSITIVE: Information which should only be logged with the consent
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 << ", " << #v2 << "=" << v2 151 << ", " << #v2 << "=" << v2
152 #define LOG_FERR3(sev, func, v1, v2, v3) LOG_FERR2(sev, func, v1, v2) \ 152 #define LOG_FERR3(sev, func, v1, v2, v3) LOG_FERR2(sev, func, v1, v2) \
153 << ", " << #v3 << "=" << v3 153 << ", " << #v3 << "=" << v3
154 #define LOG_FERR4(sev, func, v1, v2, v3, v4) LOG_FERR3(sev, func, v1, v2, v3) \ 154 #define LOG_FERR4(sev, func, v1, v2, v3, v4) LOG_FERR3(sev, func, v1, v2, v3) \
155 << ", " << #v4 << "=" << v4 155 << ", " << #v4 << "=" << v4
156 156
157 #endif // LOG 157 #endif // LOG
158 158
159 } // namespace webrtc 159 } // namespace webrtc
160 160
161 #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_LOGGING_H_ 161 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_LOGGING_H_
OLDNEW
« no previous file with comments | « webrtc/system_wrappers/include/logcat_trace_context.h ('k') | webrtc/system_wrappers/include/metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698