| 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 88e63602e3f3de094a646edf25c684eebd87e9c1..cb5af59e4ac36a4dfcfea75d7f26a71261c3edc0 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);
|
| @@ -119,6 +122,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(
|
| @@ -148,6 +152,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_;
|
|
|