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

Unified Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 11360259: Sync: Add DeviceInfo's ChangeProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: 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);
}

Powered by Google App Engine
This is Rietveld 408576698