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

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

Issue 98323003: Revert 238348 "Clean up TestProfileSyncService and related tests" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: 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());

Powered by Google App Engine
This is Rietveld 408576698