Index: chrome/browser/sync_file_system/local/canned_syncable_file_system.cc |
diff --git a/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc b/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc |
index 15e34199658a0e4d928b4b1f945cdf0765e320e0..ea4a8b080e5d1f893881d331a7b9c8b8ad48424a 100644 |
--- a/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc |
+++ b/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc |
@@ -232,8 +232,11 @@ void CannedSyncableFileSystem::SetUp() { |
fileapi::FileSystemOptions::PROFILE_MODE_NORMAL, |
additional_allowed_schemes); |
+ SyncFileSystemBackend* backend = new SyncFileSystemBackend(&profile_); |
+ backend->set_skip_initialize_syncfs_service_for_testing(true); |
+ |
ScopedVector<fileapi::FileSystemBackend> additional_backends; |
- additional_backends.push_back(new SyncFileSystemBackend()); |
+ additional_backends.push_back(backend); |
file_system_context_ = new FileSystemContext( |
io_task_runner_.get(), |