Index: chrome/browser/sync/test_profile_sync_service.cc |
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc |
index 4a3005c83e363fb6b2305f38005e87dcd4e2b833..baf16131dceead8cdb863c2df068b582c6974c05 100644 |
--- a/chrome/browser/sync/test_profile_sync_service.cc |
+++ b/chrome/browser/sync/test_profile_sync_service.cc |
@@ -131,6 +131,10 @@ void SyncBackendHostForProfileSyncTest |
// syncer) is a decryption attempt, which will fail the first time. |
} |
+ if (!directory->initial_sync_ended_for_type(DEVICE_INFO)) { |
+ syncer::TestUserShare::CreateRoot(DEVICE_INFO, user_share); |
+ } |
+ |
if (!directory->initial_sync_ended_for_type(EXPERIMENTS)) { |
syncer::TestUserShare::CreateRoot(EXPERIMENTS, user_share); |
} |