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

Side by Side Diff: webrtc/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m

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
« no previous file with comments | « webrtc/base/thread.cc ('k') | webrtc/modules/audio_device/ios/audio_device_ios.mm » ('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 2014 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2014 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 "APPRTCAppDelegate.h" 11 #import "APPRTCAppDelegate.h"
16 #import "APPRTCViewController.h" 12 #import "APPRTCViewController.h"
17 #import "WebRTC/RTCSSLAdapter.h" 13 #import "WebRTC/RTCSSLAdapter.h"
18 14
19 @interface APPRTCAppDelegate () <NSWindowDelegate> 15 @interface APPRTCAppDelegate () <NSWindowDelegate>
20 @end 16 @end
21 17
22 @implementation APPRTCAppDelegate { 18 @implementation APPRTCAppDelegate {
23 APPRTCViewController* _viewController; 19 APPRTCViewController* _viewController;
24 NSWindow* _window; 20 NSWindow* _window;
(...skipping 25 matching lines...) Expand all
50 #pragma mark - NSWindow 46 #pragma mark - NSWindow
51 47
52 - (void)windowWillClose:(NSNotification*)notification { 48 - (void)windowWillClose:(NSNotification*)notification {
53 [_viewController windowWillClose:notification]; 49 [_viewController windowWillClose:notification];
54 RTCCleanupSSL(); 50 RTCCleanupSSL();
55 [NSApp terminate:self]; 51 [NSApp terminate:self];
56 } 52 }
57 53
58 @end 54 @end
59 55
OLDNEW
« no previous file with comments | « webrtc/base/thread.cc ('k') | webrtc/modules/audio_device/ios/audio_device_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698