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

Unified Diff: ios/web/crw_browsing_data_store.mm

Issue 1171203004: Correct iOS build for latest Xcode beta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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/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;

Powered by Google App Engine
This is Rietveld 408576698