Index: trunk/src/chrome/browser/sync/profile_sync_service.cc |
=================================================================== |
--- trunk/src/chrome/browser/sync/profile_sync_service.cc (revision 238367) |
+++ trunk/src/chrome/browser/sync/profile_sync_service.cc (working copy) |
@@ -1735,6 +1735,12 @@ |
return backend_.get() && backend_->IsCryptographerReady(trans); |
} |
+SyncBackendHost* ProfileSyncService::GetBackendForTest() { |
+ // We don't check |backend_initialized_|; we assume the test class |
+ // knows what it's doing. |
+ return backend_.get(); |
+} |
+ |
void ProfileSyncService::ConfigurePriorityDataTypes() { |
const syncer::ModelTypeSet priority_types = |
Intersection(GetPreferredDataTypes(), syncer::PriorityUserTypes()); |