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

Side by Side Diff: webrtc/rtc_base/thread_darwin.mm

Issue 2974613003: base->rtc_base: Update .c, .mm and .java files. (Closed)
Patch Set: Created 3 years, 5 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 2017 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2017 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
11 #include "webrtc/base/thread.h" 11 #include "webrtc/rtc_base/thread.h"
12 12
13 #import <Foundation/Foundation.h> 13 #import <Foundation/Foundation.h>
14 14
15 #include "webrtc/base/platform_thread.h" 15 #include "webrtc/rtc_base/platform_thread.h"
16 16
17 /* 17 /*
18 * This file contains platform-specific implementations for several 18 * This file contains platform-specific implementations for several
19 * methods in rtc::Thread. 19 * methods in rtc::Thread.
20 */ 20 */
21 21
22 namespace { 22 namespace {
23 void InitCocoaMultiThreading() { 23 void InitCocoaMultiThreading() {
24 if ([NSThread isMultiThreaded] == NO) { 24 if ([NSThread isMultiThreaded] == NO) {
25 // The sole purpose of this autorelease pool is to avoid a console 25 // The sole purpose of this autorelease pool is to avoid a console
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 if (cmsLoop != kForever) { 76 if (cmsLoop != kForever) {
77 cmsNext = static_cast<int>(TimeUntil(msEnd)); 77 cmsNext = static_cast<int>(TimeUntil(msEnd));
78 if (cmsNext < 0) 78 if (cmsNext < 0)
79 return true; 79 return true;
80 } 80 }
81 } 81 }
82 } 82 }
83 } 83 }
84 } // namespace rtc 84 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/rtc_base/logging_mac.mm ('k') | webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698