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

Side by Side Diff: webrtc/test/testsupport/iosfileutils.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
« no previous file with comments | « webrtc/modules/audio_device/ios/audio_device_ios.mm ('k') | no next file » | 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 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 #if defined(WEBRTC_IOS) 11 #if defined(WEBRTC_IOS)
12 12
13 #if !defined(__has_feature) || !__has_feature(objc_arc)
14 #error "This file requires ARC support."
15 #endif
16
17 #import <Foundation/Foundation.h> 13 #import <Foundation/Foundation.h>
18 #include <string.h> 14 #include <string.h>
19 15
20 #include "webrtc/base/checks.h" 16 #include "webrtc/base/checks.h"
21 #include "webrtc/typedefs.h" 17 #include "webrtc/typedefs.h"
22 #include "webrtc/sdk/objc/Framework/Classes/helpers.h" 18 #include "webrtc/sdk/objc/Framework/Classes/helpers.h"
23 19
24 namespace webrtc { 20 namespace webrtc {
25 namespace test { 21 namespace test {
26 22
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 if (tempDir == nil) 54 if (tempDir == nil)
59 tempDir = @"/tmp"; 55 tempDir = @"/tmp";
60 return StdStringFromNSString(tempDir); 56 return StdStringFromNSString(tempDir);
61 } 57 }
62 } 58 }
63 59
64 } // namespace test 60 } // namespace test
65 } // namespace webrtc 61 } // namespace webrtc
66 62
67 #endif // defined(WEBRTC_IOS) 63 #endif // defined(WEBRTC_IOS)
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/ios/audio_device_ios.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698