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

Unified Diff: sync/internal_api/public/test/fake_sync_manager.h

Issue 10837214: Refactor ModelTypePayloadMap and ObjectIdPayloadMap to StateMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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: sync/internal_api/public/test/fake_sync_manager.h
diff --git a/sync/internal_api/public/test/fake_sync_manager.h b/sync/internal_api/public/test/fake_sync_manager.h
index 71fe35e382750fa921661bcee6e7c49ca38f549e..dacb8d1f8927f5d66daff2c1aae20e53f221e89b 100644
--- a/sync/internal_api/public/test/fake_sync_manager.h
+++ b/sync/internal_api/public/test/fake_sync_manager.h
@@ -52,7 +52,7 @@ class FakeSyncManager : public SyncManager {
ModelTypeSet GetAndResetEnabledTypes();
// Posts a method to invalidate the given IDs on the sync thread.
- void Invalidate(const ObjectIdPayloadMap& id_payloads,
+ void Invalidate(const ObjectIdStateMap& id_state_map,
IncomingNotificationSource source);
// Posts a method to enable notifications on the sync thread.
@@ -130,7 +130,7 @@ class FakeSyncManager : public SyncManager {
private:
void InvalidateOnSyncThread(
- const ObjectIdPayloadMap& id_payloads,
+ const ObjectIdStateMap& id_state_map,
IncomingNotificationSource source);
void EnableNotificationsOnSyncThread();
void DisableNotificationsOnSyncThread(NotificationsDisabledReason reason);

Powered by Google App Engine
This is Rietveld 408576698