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

Side by Side Diff: webrtc/modules/audio_device/ios/helpers_ios.mm

Issue 2526273002: Move helpers_ios.cc/.h (Closed)
Patch Set: Created 4 years 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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 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 #import <AVFoundation/AVFoundation.h> 13 #import <AVFoundation/AVFoundation.h>
14 #import <Foundation/Foundation.h> 14 #import <Foundation/Foundation.h>
15 #import <sys/sysctl.h> 15 #import <sys/sysctl.h>
16 #import <UIKit/UIKit.h> 16 #import <UIKit/UIKit.h>
17 17
18 #include <memory> 18 #include <memory>
19 19
20 #include "webrtc/base/checks.h" 20 #include "webrtc/base/checks.h"
21 #include "webrtc/base/logging.h" 21 #include "webrtc/base/logging.h"
22 #include "webrtc/modules/utility/include/helpers_ios.h" 22 #include "webrtc/modules/audio_device/ios/helpers_ios.h"
23 23
24 namespace webrtc { 24 namespace webrtc {
25 namespace ios { 25 namespace ios {
26 26
27 bool isOperatingSystemAtLeastVersion(double version) { 27 bool isOperatingSystemAtLeastVersion(double version) {
28 return GetSystemVersion() >= version; 28 return GetSystemVersion() >= version;
29 } 29 }
30 30
31 // Internal helper method used by GetDeviceName() to return device name. 31 // Internal helper method used by GetDeviceName() to return device name.
32 const char* LookUpRealName(const char* raw_name) { 32 const char* LookUpRealName(const char* raw_name) {
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 LOG(LS_WARNING) << "webrtc::ios::GetLowPowerModeEnabled() is not " 188 LOG(LS_WARNING) << "webrtc::ios::GetLowPowerModeEnabled() is not "
189 "supported. Requires at least iOS 9.0"; 189 "supported. Requires at least iOS 9.0";
190 return false; 190 return false;
191 } 191 }
192 #endif 192 #endif
193 193
194 } // namespace ios 194 } // namespace ios
195 } // namespace webrtc 195 } // namespace webrtc
196 196
197 #endif // defined(WEBRTC_IOS) 197 #endif // defined(WEBRTC_IOS)
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/ios/helpers_ios.h ('k') | webrtc/modules/audio_device/test/audio_device_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698