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

Side by Side Diff: webrtc/base/logging.cc

Issue 1644843003: Compile rtc_base_objc and rtc_api_objc for Mac (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months 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 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 isspace(static_cast<unsigned char>(msgbuf[len-1]))) { 162 isspace(static_cast<unsigned char>(msgbuf[len-1]))) {
163 msgbuf[--len] = 0; 163 msgbuf[--len] = 0;
164 } 164 }
165 tmp << " " << msgbuf; 165 tmp << " " << msgbuf;
166 } 166 }
167 break; 167 break;
168 } 168 }
169 #endif // WEBRTC_WIN 169 #endif // WEBRTC_WIN
170 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) 170 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
171 case ERRCTX_OSSTATUS: { 171 case ERRCTX_OSSTATUS: {
172 #pragma clang diagnostic push
tkchin_webrtc 2016/01/28 21:09:44 compiler directives have no indentation Can you fi
hjon_webrtc 2016/01/28 23:49:51 Fixed indentation. Is there a preferred way to ref
tkchin_webrtc 2016/01/29 00:26:29 I'm not against pasting links if it fits in 80. //
173 #pragma clang diagnostic ignored "-Wdeprecated"
172 tmp << " " << nonnull(GetMacOSStatusErrorString(err), "Unknown error"); 174 tmp << " " << nonnull(GetMacOSStatusErrorString(err), "Unknown error");
173 if (const char* desc = GetMacOSStatusCommentString(err)) { 175 if (const char* desc = GetMacOSStatusCommentString(err)) {
174 tmp << ": " << desc; 176 tmp << ": " << desc;
175 } 177 }
178 #pragma clang diagnostic pop
176 break; 179 break;
177 } 180 }
178 #endif // WEBRTC_MAC && !defined(WEBRTC_IOS) 181 #endif // WEBRTC_MAC && !defined(WEBRTC_IOS)
179 default: 182 default:
180 break; 183 break;
181 } 184 }
182 extra_ = tmp.str(); 185 extra_ = tmp.str();
183 } 186 }
184 } 187 }
185 188
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 } 550 }
548 551
549 if (state) { 552 if (state) {
550 state->unprintable_count_[input] = consecutive_unprintable; 553 state->unprintable_count_[input] = consecutive_unprintable;
551 } 554 }
552 } 555 }
553 556
554 ////////////////////////////////////////////////////////////////////// 557 //////////////////////////////////////////////////////////////////////
555 558
556 } // namespace rtc 559 } // namespace rtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698