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

Unified Diff: webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.m

Issue 2479153002: Rename media constraints model and store. (Closed)
Patch Set: Rebase master Created 4 years, 1 month 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/examples/objc/AppRTCMobile/ios/ARDSettingsModel.m
diff --git a/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsModel.m b/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.m
similarity index 89%
rename from webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsModel.m
rename to webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.m
index 0299301525615eb8fe52b70b864b3fba69b8e02d..61b5c506bd3bce9ace07d8db66a021ceeea97c18 100644
--- a/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsModel.m
+++ b/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.m
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import "ARDMediaConstraintsModel+Private.h"
-#import "ARDMediaConstraintsSettingsStore.h"
+#import "ARDSettingsModel+Private.h"
+#import "ARDSettingsStore.h"
#import "WebRTC/RTCMediaConstraints.h"
NS_ASSUME_NONNULL_BEGIN
@@ -17,12 +17,12 @@ static NSArray<NSString *> *videoResolutionsStaticValues() {
return @[ @"640x480", @"960x540", @"1280x720" ];
}
-@interface ARDMediaConstraintsModel () {
- ARDMediaConstraintsSettingsStore *_settingsStore;
+@interface ARDSettingsModel () {
+ ARDSettingsStore *_settingsStore;
}
@end
-@implementation ARDMediaConstraintsModel
+@implementation ARDSettingsModel
- (NSArray<NSString *> *)availableVideoResoultionsMediaConstraints {
return videoResolutionsStaticValues();
@@ -48,9 +48,9 @@ static NSArray<NSString *> *videoResolutionsStaticValues() {
#pragma mark - Testable
-- (ARDMediaConstraintsSettingsStore *)settingsStore {
+- (ARDSettingsStore *)settingsStore {
if (!_settingsStore) {
- _settingsStore = [[ARDMediaConstraintsSettingsStore alloc] init];
+ _settingsStore = [[ARDSettingsStore alloc] init];
}
return _settingsStore;
}

Powered by Google App Engine
This is Rietveld 408576698