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

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: Add references to issues 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 // TODO(5478): Update deprecated APIs.
kjellander_webrtc 2016/02/01 06:08:29 Use proper format for TODOs (see previous comment)
hjon_webrtc 2016/02/02 23:03:50 Done.
173 #pragma clang diagnostic push
174 #pragma clang diagnostic ignored "-Wdeprecated"
172 tmp << " " << nonnull(GetMacOSStatusErrorString(err), "Unknown error"); 175 tmp << " " << nonnull(GetMacOSStatusErrorString(err), "Unknown error");
173 if (const char* desc = GetMacOSStatusCommentString(err)) { 176 if (const char* desc = GetMacOSStatusCommentString(err)) {
174 tmp << ": " << desc; 177 tmp << ": " << desc;
175 } 178 }
179 #pragma clang diagnostic pop
176 break; 180 break;
177 } 181 }
178 #endif // WEBRTC_MAC && !defined(WEBRTC_IOS) 182 #endif // WEBRTC_MAC && !defined(WEBRTC_IOS)
179 default: 183 default:
180 break; 184 break;
181 } 185 }
182 extra_ = tmp.str(); 186 extra_ = tmp.str();
183 } 187 }
184 } 188 }
185 189
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 } 551 }
548 552
549 if (state) { 553 if (state) {
550 state->unprintable_count_[input] = consecutive_unprintable; 554 state->unprintable_count_[input] = consecutive_unprintable;
551 } 555 }
552 } 556 }
553 557
554 ////////////////////////////////////////////////////////////////////// 558 //////////////////////////////////////////////////////////////////////
555 559
556 } // namespace rtc 560 } // namespace rtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698