diff options
Diffstat (limited to 'sync/test')
-rw-r--r-- | sync/test/engine/fake_sync_scheduler.cc | 2 | ||||
-rw-r--r-- | sync/test/engine/fake_sync_scheduler.h | 2 | ||||
-rw-r--r-- | sync/test/engine/mock_connection_manager.h | 6 | ||||
-rw-r--r-- | sync/test/engine/syncer_command_test.h | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/sync/test/engine/fake_sync_scheduler.cc b/sync/test/engine/fake_sync_scheduler.cc index fee1595..826119b 100644 --- a/sync/test/engine/fake_sync_scheduler.cc +++ b/sync/test/engine/fake_sync_scheduler.cc @@ -27,7 +27,7 @@ void FakeSyncScheduler::ScheduleNudgeAsync( void FakeSyncScheduler::ScheduleNudgeWithStatesAsync( const base::TimeDelta& delay, NudgeSource source, - const ModelTypeStateMap& types_with_payloads, + const ModelTypeInvalidationMap& invalidation_map, const tracked_objects::Location& nudge_location) { } diff --git a/sync/test/engine/fake_sync_scheduler.h b/sync/test/engine/fake_sync_scheduler.h index 40ebd41..9638ea6 100644 --- a/sync/test/engine/fake_sync_scheduler.h +++ b/sync/test/engine/fake_sync_scheduler.h @@ -28,7 +28,7 @@ class FakeSyncScheduler : public SyncScheduler { const tracked_objects::Location& nudge_location) OVERRIDE; virtual void ScheduleNudgeWithStatesAsync( const base::TimeDelta& delay, NudgeSource source, - const ModelTypeStateMap& type_state_map, + const ModelTypeInvalidationMap& invalidation_map, const tracked_objects::Location& nudge_location) OVERRIDE; virtual bool ScheduleConfiguration( const ConfigurationParams& params) OVERRIDE; diff --git a/sync/test/engine/mock_connection_manager.h b/sync/test/engine/mock_connection_manager.h index 617e39d..008887b 100644 --- a/sync/test/engine/mock_connection_manager.h +++ b/sync/test/engine/mock_connection_manager.h @@ -17,7 +17,7 @@ #include "base/memory/scoped_vector.h" #include "sync/engine/net/server_connection_manager.h" #include "sync/internal_api/public/base/model_type.h" -#include "sync/internal_api/public/base/model_type_state_map.h" +#include "sync/internal_api/public/base/model_type_invalidation_map.h" #include "sync/protocol/sync.pb.h" namespace syncer { @@ -190,7 +190,7 @@ class MockConnectionManager : public ServerConnectionManager { expected_filter_ = expected_filter; } - void ExpectGetUpdatesRequestStates(const ModelTypeStateMap& states) { + void ExpectGetUpdatesRequestStates(const ModelTypeInvalidationMap& states) { expected_states_ = states; } @@ -341,7 +341,7 @@ class MockConnectionManager : public ServerConnectionManager { ModelTypeSet expected_filter_; - ModelTypeStateMap expected_states_; + ModelTypeInvalidationMap expected_states_; int num_get_updates_requests_; diff --git a/sync/test/engine/syncer_command_test.h b/sync/test/engine/syncer_command_test.h index 8e1aa14..e177a87 100644 --- a/sync/test/engine/syncer_command_test.h +++ b/sync/test/engine/syncer_command_test.h @@ -100,8 +100,8 @@ class SyncerCommandTestBase : public testing::Test, // Lazily create a session requesting all datatypes with no state. sessions::SyncSession* session() { - ModelTypeStateMap types = - ModelSafeRoutingInfoToStateMap(routing_info_, std::string()); + ModelTypeInvalidationMap types = + ModelSafeRoutingInfoToInvalidationMap(routing_info_, std::string()); return session(sessions::SyncSourceInfo(types)); } |