Rename media constraints model and store.

ARDMediaConstraintsModel -> ARDSettingsModel
ARDMediaConstraintsSettingsStore -> ARDSettingsStore
ARDMediaConstraintsModelTests -> ARDSettingsModelTests

Both classes will be used to storing other settings as well, so we need a
more appropriate naming.

BUG=webrtc:6654

Review-Url: https://codereview.webrtc.org/2479153002
Cr-Commit-Position: refs/heads/master@{#15002}
This commit is contained in:
denicija
2016-11-09 06:26:18 -08:00
committed by Commit bot
parent 4bc98d4e1b
commit 2256e04fa8
11 changed files with 55 additions and 54 deletions

View File

@ -19,7 +19,7 @@
#import "ARDAppClient.h"
#import "ARDMainView.h"
#import "ARDMediaConstraintsModel.h"
#import "ARDSettingsModel.h"
#import "ARDSettingsViewController.h"
#import "ARDVideoCallViewController.h"
@ -173,7 +173,8 @@ static NSString *const barButtonImageString = @"ic_settings_black_24dp.png";
- (void)showSettings:(id)sender {
ARDSettingsViewController *settingsController =
[[ARDSettingsViewController alloc] initWithStyle:UITableViewStyleGrouped
mediaConstraintsModel:[[ARDMediaConstraintsModel alloc] init]];
settingsModel:[[ARDSettingsModel alloc] init]];
UINavigationController *navigationController =
[[UINavigationController alloc] initWithRootViewController:settingsController];
[self presentViewControllerAsModal:navigationController];