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

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: Created 7 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/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 856ada2d8186a9953071e6e60945348052456144..54c98c88ac9d3500e5b3090f65e47c7c9856c632 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -1695,12 +1695,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());

Powered by Google App Engine
This is Rietveld 408576698