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

Unified Diff: webrtc/sdk/objc/Framework/Classes/Common/helpers.mm

Issue 2862543002: Split iOS sdk in to separate targets (Closed)
Patch Set: rebase and minor fixes Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/sdk/objc/Framework/Classes/Common/helpers.mm
diff --git a/webrtc/sdk/objc/Framework/Classes/helpers.mm b/webrtc/sdk/objc/Framework/Classes/Common/helpers.mm
similarity index 94%
rename from webrtc/sdk/objc/Framework/Classes/helpers.mm
rename to webrtc/sdk/objc/Framework/Classes/Common/helpers.mm
index c0e5f1ed79ec113846e5016f7ecfcc94115b8483..fef75a5293a90966419b684ded8c06147cf80d5c 100644
--- a/webrtc/sdk/objc/Framework/Classes/helpers.mm
+++ b/webrtc/sdk/objc/Framework/Classes/Common/helpers.mm
@@ -9,7 +9,6 @@
*/
-#import <AVFoundation/AVFoundation.h>
#import <Foundation/Foundation.h>
#import <sys/sysctl.h>
#if defined(WEBRTC_IOS)
@@ -20,7 +19,7 @@
#include "webrtc/base/checks.h"
#include "webrtc/base/logging.h"
-#include "webrtc/sdk/objc/Framework/Classes/helpers.h"
+#include "webrtc/sdk/objc/Framework/Classes/Common/helpers.h"
namespace webrtc {
namespace ios {
@@ -65,11 +64,6 @@ std::string GetCurrentThreadDescription() {
}
#if defined(WEBRTC_IOS)
-std::string GetAudioSessionCategory() {
- NSString* category = [[AVAudioSession sharedInstance] category];
- return StdStringFromNSString(category);
-}
-
std::string GetSystemName() {
NSString* osName = [[UIDevice currentDevice] systemName];
return StdStringFromNSString(osName);
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/Common/helpers.h ('k') | webrtc/sdk/objc/Framework/Classes/NSString+StdString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698