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/modules/audio_device/ios/audio_device_ios.mm

Issue 2702153004: Remove non-ARC code from the codebase. (Closed)
Patch Set: Remove non-ARC code from the codebase. Created 3 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 (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 #if !defined(__has_feature) || !__has_feature(objc_arc)
12 #error "This file requires ARC support."
13 #endif
14
15 #import <AVFoundation/AVFoundation.h> 11 #import <AVFoundation/AVFoundation.h>
16 #import <Foundation/Foundation.h> 12 #import <Foundation/Foundation.h>
17 13
18 #include "webrtc/modules/audio_device/ios/audio_device_ios.h" 14 #include "webrtc/modules/audio_device/ios/audio_device_ios.h"
19 15
20 #include "webrtc/base/atomicops.h" 16 #include "webrtc/base/atomicops.h"
21 #include "webrtc/base/bind.h" 17 #include "webrtc/base/bind.h"
22 #include "webrtc/base/checks.h" 18 #include "webrtc/base/checks.h"
23 #include "webrtc/base/criticalsection.h" 19 #include "webrtc/base/criticalsection.h"
24 #include "webrtc/base/logging.h" 20 #include "webrtc/base/logging.h"
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 830
835 // All I/O should be stopped or paused prior to deactivating the audio 831 // All I/O should be stopped or paused prior to deactivating the audio
836 // session, hence we deactivate as last action. 832 // session, hence we deactivate as last action.
837 [session lockForConfiguration]; 833 [session lockForConfiguration];
838 UnconfigureAudioSession(); 834 UnconfigureAudioSession();
839 [session endWebRTCSession:nil]; 835 [session endWebRTCSession:nil];
840 [session unlockForConfiguration]; 836 [session unlockForConfiguration];
841 } 837 }
842 838
843 } // namespace webrtc 839 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m ('k') | webrtc/test/testsupport/iosfileutils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698