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

Unified Diff: ios/chrome/browser/sync/ios_chrome_sync_client.mm

Issue 2944993002: Remove dependency on BrowserThread::FILE from Sync code (Closed)
Patch Set: More explicit about returning nullptr ModelSafeWorker for FILE group on Android and iOS Created 3 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
« no previous file with comments | « chrome/browser/sync/test/integration/extension_settings_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/sync/ios_chrome_sync_client.mm
diff --git a/ios/chrome/browser/sync/ios_chrome_sync_client.mm b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
index d066897389a38fff3855629d0161ffba49403250..ed4d4487a41615a19d07e876705c165d5c4d6feb 100644
--- a/ios/chrome/browser/sync/ios_chrome_sync_client.mm
+++ b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
@@ -383,9 +383,8 @@ IOSChromeSyncClient::CreateModelWorkerForGroup(syncer::ModelSafeGroup group) {
web::WebThread::GetTaskRunnerForThread(web::WebThread::DB),
syncer::GROUP_DB);
case syncer::GROUP_FILE:
- return new syncer::SequencedModelWorker(
- web::WebThread::GetTaskRunnerForThread(web::WebThread::FILE),
- syncer::GROUP_FILE);
+ // Not supported on iOS.
+ return nullptr;
case syncer::GROUP_UI:
return new syncer::UIModelWorker(
web::WebThread::GetTaskRunnerForThread(web::WebThread::UI));
« no previous file with comments | « chrome/browser/sync/test/integration/extension_settings_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698