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

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/RTCDispatcher.m

Issue 1903663002: Build dynamic iOS SDK. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix test gyp Created 4 years, 7 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 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 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 #import "RTCDispatcher.h"
12
13 #import "RTCDispatcher+Private.h" 11 #import "RTCDispatcher+Private.h"
14 12
15 static dispatch_queue_t kAudioSessionQueue = nil; 13 static dispatch_queue_t kAudioSessionQueue = nil;
16 static dispatch_queue_t kCaptureSessionQueue = nil; 14 static dispatch_queue_t kCaptureSessionQueue = nil;
17 15
18 @implementation RTCDispatcher 16 @implementation RTCDispatcher
19 17
20 + (void)initialize { 18 + (void)initialize {
21 static dispatch_once_t onceToken; 19 static dispatch_once_t onceToken;
22 dispatch_once(&onceToken, ^{ 20 dispatch_once(&onceToken, ^{
(...skipping 20 matching lines...) Expand all
43 return dispatch_get_main_queue(); 41 return dispatch_get_main_queue();
44 case RTCDispatcherTypeCaptureSession: 42 case RTCDispatcherTypeCaptureSession:
45 return kCaptureSessionQueue; 43 return kCaptureSessionQueue;
46 case RTCDispatcherTypeAudioSession: 44 case RTCDispatcherTypeAudioSession:
47 return kAudioSessionQueue; 45 return kAudioSessionQueue;
48 } 46 }
49 } 47 }
50 48
51 @end 49 @end
52 50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698