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

Unified Diff: chrome/browser/sync/test_profile_sync_service.h

Issue 10483015: [Sync] Refactor sync configuration logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months 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/test_profile_sync_service.h
diff --git a/chrome/browser/sync/test_profile_sync_service.h b/chrome/browser/sync/test_profile_sync_service.h
index 1227e5f8043a1e933048e6b890d0a7cc1acd8f5f..0703bbc13caece360851ac9df218cfdfca2a2266 100644
--- a/chrome/browser/sync/test_profile_sync_service.h
+++ b/chrome/browser/sync/test_profile_sync_service.h
@@ -45,11 +45,12 @@ class SyncBackendHostForProfileSyncTest : public SyncBackendHost {
MOCK_METHOD1(RequestNudge, void(const tracked_objects::Location&));
- // Called when a nudge comes in.
- void SimulateSyncCycleCompletedInitialSyncEnded(
- const tracked_objects::Location&);
-
- virtual void StartConfiguration(const base::Closure& callback) OVERRIDE;
+ virtual void RequestConfigureSyncer(
+ sync_api::ConfigureReason reason,
+ syncable::ModelTypeSet types_to_config,
+ const browser_sync::ModelSafeRoutingInfo routing_info,
+ const base::Callback<void(syncable::ModelTypeSet)>& ready_task,
+ const base::Closure& retry_callback) OVERRIDE;
static void SetHistoryServiceExpectations(ProfileMock* profile);

Powered by Google App Engine
This is Rietveld 408576698