| 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 b0a5d1fea939a7b5ccbc139efa6ce16c9245d9b0..0183c8ffa19f95986c16d3876021fba8772b6477 100644
|
| --- a/sync/internal_api/public/test/fake_sync_manager.h
|
| +++ b/sync/internal_api/public/test/fake_sync_manager.h
|
| @@ -45,6 +45,11 @@ class FakeSyncManager : public SyncManager {
|
| // GetAndResetDownloadedTypes(), or since startup if never called.
|
| ModelTypeSet GetAndResetDownloadedTypes();
|
|
|
| + // Returns those types that have been marked as enabled since the
|
| + // last call to GetAndResetEnabledTypes(), or since startup if never
|
| + // called.
|
| + ModelTypeSet GetAndResetEnabledTypes();
|
| +
|
| // SyncManager implementation.
|
| // Note: we treat whatever message loop this is called from as the sync
|
| // loop for purposes of callbacks.
|
| @@ -115,6 +120,8 @@ class FakeSyncManager : public SyncManager {
|
| ModelTypeSet cleaned_types_;
|
| // The set of types that have been downloaded.
|
| ModelTypeSet downloaded_types_;
|
| + // The set of types that have been enabled.
|
| + ModelTypeSet enabled_types_;
|
|
|
| // For StopSyncingForShutdown's callback.
|
| MessageLoop* sync_loop_;
|
|
|