diff options
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.cc')
-rw-r--r-- | chrome/browser/sync/profile_sync_service.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc index e3aa161..ed1e417 100644 --- a/chrome/browser/sync/profile_sync_service.cc +++ b/chrome/browser/sync/profile_sync_service.cc @@ -1735,6 +1735,12 @@ bool ProfileSyncService::IsCryptographerReady( 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()); |