Index: ios/web/crw_browsing_data_store_unittest.mm |
diff --git a/ios/web/crw_browsing_data_store_unittest.mm b/ios/web/crw_browsing_data_store_unittest.mm |
index a35c7f954d88a6cbe702ed44aafc3cf61dad8cfb..907dd5d69f2cc80fc5a9ade17fedcd9a8a9bb115 100644 |
--- a/ios/web/crw_browsing_data_store_unittest.mm |
+++ b/ios/web/crw_browsing_data_store_unittest.mm |
@@ -19,6 +19,7 @@ |
// An observer to observe the |mode| key changes to a CRWBrowsingDataStore. |
// Used for testing purposes. |
@interface CRWTestBrowsingDataStoreObserver : NSObject |
+- (instancetype)init NS_UNAVAILABLE; |
// Designated init. |browsingDataStore| cannot be null. |
- (instancetype)initWithBrowsingDataStore: |
(CRWBrowsingDataStore*)browsingDataStore NS_DESIGNATED_INITIALIZER; |
@@ -34,6 +35,11 @@ |
@synthesize modeChangeCount = _modeChangeCount; |
+- (instancetype)init { |
+ NOTREACHED(); |
+ return nil; |
+} |
+ |
- (instancetype)initWithBrowsingDataStore: |
(CRWBrowsingDataStore*)browsingDataStore { |
self = [super init]; |