Chromium Code Reviews| Index: ios/web/crw_browsing_data_store.mm |
| diff --git a/ios/web/crw_browsing_data_store.mm b/ios/web/crw_browsing_data_store.mm |
| index 1d9fbe0d65dc91cf00977202ab5fbbf5e522831b..f7d6e023c0aca06f0b9d14b600fd226ae4dc0b4c 100644 |
| --- a/ios/web/crw_browsing_data_store.mm |
| +++ b/ios/web/crw_browsing_data_store.mm |
| @@ -45,6 +45,7 @@ NSString* const kStashOperationName = @"CRWBrowsingDataStore.STASH"; |
| // run. All remove operations need to be run on the same queue hence it is |
| // shared with all CRWBrowsingDataStores. |
| + (NSOperationQueue*)operationQueueForRemoveOperations; |
| +- (instancetype)init NS_UNAVAILABLE; |
|
rohitrao (ping after 24h)
2015/06/10 16:18:22
Should this be in the .h file?
justincohen
2015/06/10 16:33:36
Why? It doesn't need to be?
|
| // The array of all browsing data managers. Must be accessed from the main |
| // thread. |
| @@ -122,6 +123,11 @@ NSString* const kStashOperationName = @"CRWBrowsingDataStore.STASH"; |
| NSUInteger _numberOfPendingStashOrRestoreOperations; |
| } |
| +- (instancetype)init { |
| + NOTREACHED(); |
| + return nil; |
| +} |
| + |
| + (NSOperationQueue*)operationQueueForStashAndRestoreOperations { |
| static dispatch_once_t onceToken = 0; |
| static NSOperationQueue* operationQueueForStashAndRestoreOperations = nil; |