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

Unified Diff: ios/public/test/test_updatable_resource_provider.mm

Issue 1171203004: Correct iOS build for latest Xcode beta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: UNAVAILABLE_ATTRIBUTE->NS_UNAVAILABLE Created 5 years, 6 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: ios/public/test/test_updatable_resource_provider.mm
diff --git a/ios/public/test/test_updatable_resource_provider.mm b/ios/public/test/test_updatable_resource_provider.mm
index de8459f2ec0c8636be5d7bd521b67f1c0ec1fa3a..a180f585a2606a59c68488ede5f6323fd7ffb37f 100644
--- a/ios/public/test/test_updatable_resource_provider.mm
+++ b/ios/public/test/test_updatable_resource_provider.mm
@@ -40,6 +40,7 @@
// from the specified plist file.
@interface TestUpdatableResource : NSObject<UpdatableResourceBridge>
@property(nonatomic, readonly) id<UpdatableResourceDescriptorBridge> descriptor;
+- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithDelegate:(id<UpdatableResourceDelegate>)delegate
plist:(NSString*)resource_identifier
NS_DESIGNATED_INITIALIZER;
@@ -50,6 +51,11 @@
base::scoped_nsprotocol<id<UpdatableResourceDescriptorBridge>> _descriptor;
}
+- (instancetype)init {
+ NOTREACHED();
+ return nil;
+}
+
- (instancetype)initWithDelegate:(id<UpdatableResourceDelegate>)delegate
plist:(NSString*)resourceIdentifier {
if (self = [super init]) {

Powered by Google App Engine
This is Rietveld 408576698