| 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 ecbf3be497d90ae17b875ca61d48d6432b69685d..70415c9bb722bfe61fec2a3056e556d6904511ce 100644
|
| --- a/sync/internal_api/public/test/fake_sync_manager.h
|
| +++ b/sync/internal_api/public/test/fake_sync_manager.h
|
| @@ -54,6 +54,9 @@ class FakeSyncManager : public SyncManager {
|
| // called.
|
| ModelTypeSet GetAndResetEnabledTypes();
|
|
|
| + // Returns the types that have most recently received a refresh request.
|
| + ModelTypeSet GetLastRefreshRequestTypes();
|
| +
|
| // Posts a method to invalidate the given IDs on the sync thread.
|
| void Invalidate(const ObjectIdInvalidationMap& invalidation_map,
|
| IncomingInvalidationSource source);
|
| @@ -120,6 +123,7 @@ class FakeSyncManager : public SyncManager {
|
| virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE;
|
| virtual bool HasUnsyncedItems() OVERRIDE;
|
| virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE;
|
| + virtual void RefreshTypes(ModelTypeSet types) OVERRIDE;
|
|
|
| private:
|
| void InvalidateOnSyncThread(
|
| @@ -149,6 +153,9 @@ class FakeSyncManager : public SyncManager {
|
| // Faked invalidator state.
|
| InvalidatorRegistrar registrar_;
|
|
|
| + // The types for which a refresh was most recently requested.
|
| + ModelTypeSet last_refresh_request_types_;
|
| +
|
| scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_;
|
|
|
| TestUserShare test_user_share_;
|
|
|