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

Unified Diff: webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsSettingsStore.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/ARDMediaConstraintsSettingsStore.m
diff --git a/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsSettingsStore.m b/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsSettingsStore.m
deleted file mode 100644
index c8fb206575d73aa9f3bb22254d0da22b04a449a8..0000000000000000000000000000000000000000
--- a/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsSettingsStore.m
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright 2016 The WebRTC Project Authors. All rights reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#import "ARDMediaConstraintsSettingsStore.h"
-
-static NSString *const kUserDefaultsMediaConstraintsKey =
- @"rtc_video_resolution_media_constraints_key";
-
-NS_ASSUME_NONNULL_BEGIN
-@implementation ARDMediaConstraintsSettingsStore
-
-- (nullable NSString *)videoResolutionConstraintsSetting {
- return [[NSUserDefaults standardUserDefaults] objectForKey:kUserDefaultsMediaConstraintsKey];
-}
-
-- (void)setVideoResolutionConstraintsSetting:(NSString *)constraintsString {
- [[NSUserDefaults standardUserDefaults] setObject:constraintsString
- forKey:kUserDefaultsMediaConstraintsKey];
-}
-
-@end
-NS_ASSUME_NONNULL_END

Powered by Google App Engine
This is Rietveld 408576698