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

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

Issue 67683005: Clean up TestProfileSyncService and related tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 5173ed7c0d765c02a5209aa955e2c9a8cf9a43cc..252fa8467860ce6be2aa26f570bace58971bafeb 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -1727,12 +1727,6 @@ 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());
« no previous file with comments | « chrome/browser/sync/profile_sync_service.h ('k') | chrome/browser/sync/profile_sync_service_autofill_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698