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

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: Update against master 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
« no previous file with comments | « webrtc/base/base.gyp ('k') | webrtc/base/macutils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 isspace(static_cast<unsigned char>(msgbuf[len-1]))) { 164 isspace(static_cast<unsigned char>(msgbuf[len-1]))) {
165 msgbuf[--len] = 0; 165 msgbuf[--len] = 0;
166 } 166 }
167 tmp << " " << msgbuf; 167 tmp << " " << msgbuf;
168 } 168 }
169 break; 169 break;
170 } 170 }
171 #endif // WEBRTC_WIN 171 #endif // WEBRTC_WIN
172 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) 172 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
173 case ERRCTX_OSSTATUS: { 173 case ERRCTX_OSSTATUS: {
174 // TODO(hjon): Update deprecated APIs (see webrtc:5478 for details).
175 #pragma clang diagnostic push
176 #pragma clang diagnostic ignored "-Wdeprecated"
174 tmp << " " << nonnull(GetMacOSStatusErrorString(err), "Unknown error"); 177 tmp << " " << nonnull(GetMacOSStatusErrorString(err), "Unknown error");
175 if (const char* desc = GetMacOSStatusCommentString(err)) { 178 if (const char* desc = GetMacOSStatusCommentString(err)) {
176 tmp << ": " << desc; 179 tmp << ": " << desc;
177 } 180 }
181 #pragma clang diagnostic pop
178 break; 182 break;
179 } 183 }
180 #endif // WEBRTC_MAC && !defined(WEBRTC_IOS) 184 #endif // WEBRTC_MAC && !defined(WEBRTC_IOS)
181 default: 185 default:
182 break; 186 break;
183 } 187 }
184 extra_ = tmp.str(); 188 extra_ = tmp.str();
185 } 189 }
186 } 190 }
187 191
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 } 553 }
550 554
551 if (state) { 555 if (state) {
552 state->unprintable_count_[input] = consecutive_unprintable; 556 state->unprintable_count_[input] = consecutive_unprintable;
553 } 557 }
554 } 558 }
555 559
556 ////////////////////////////////////////////////////////////////////// 560 //////////////////////////////////////////////////////////////////////
557 561
558 } // namespace rtc 562 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/base/base.gyp ('k') | webrtc/base/macutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698