OLD | NEW |
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 Loading... |
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) |
OLD | NEW |