Chromium Code Reviews| Index: webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsModel+Private.h |
| diff --git a/webrtc/base/logging_mac.mm b/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsModel+Private.h |
| similarity index 56% |
| copy from webrtc/base/logging_mac.mm |
| copy to webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsModel+Private.h |
| index ffee3541a48245e0179670ce2b013f957bc6b88a..57d507b8142f0595ee217e3f3a363cfdcefbce35 100644 |
| --- a/webrtc/base/logging_mac.mm |
| +++ b/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsModel+Private.h |
| @@ -8,15 +8,15 @@ |
| * be found in the AUTHORS file in the root of the source tree. |
| */ |
| -#include "webrtc/base/logging.h" |
| - |
| #import <Foundation/Foundation.h> |
| +#import "ARDMediaConstraintsModel.h" |
| +@class ARDMediaConstraintsSettingsStore; |
| -namespace rtc { |
| -std::string DescriptionFromOSStatus(OSStatus err) { |
| - NSError* error = |
| - [NSError errorWithDomain:NSOSStatusErrorDomain code:err userInfo:nil]; |
| - return error.description.UTF8String; |
| -} |
| -} // namespace rtc |
| +NS_ASSUME_NONNULL_BEGIN |
| +@interface ARDMediaConstraintsModel () |
| +- (ARDMediaConstraintsSettingsStore *)settingsStore; |
| +- (nullable NSString *)currentVideoResolutionWidthFromStore; |
|
magjed_webrtc
2016/10/31 19:26:39
What's the benefit of having this as a string and
daniela-webrtc
2016/11/01 09:51:12
I've explained the rationale in one of my previous
|
| +- (nullable NSString *)currentVideoResolutionHeightFromStore; |
| +@end |
| +NS_ASSUME_NONNULL_END |