commit | fac49554f80072e949782d638fe204d37beb66d9 | [log] [tgz] |
---|---|---|
author | Marc Treib <[email protected]> | Thu Nov 15 07:35:58 2018 |
committer | Commit Bot <[email protected]> | Thu Nov 15 07:35:58 2018 |
tree | 870f3626b700267535b3cb3d4d9bd86af03798fb | |
parent | 33283f195a0b8ef1bcfbe5a1d6114ba84449d0d0 [diff] [blame] |
Introduce TestSyncUserSettings It's a simple test implementation of SyncUserSettings that mostly forwards calls to the TestSyncService. It is not actually used yet, but it unlocks the migration of tests over to SyncUserSettings. Bug: 884159 Change-Id: Id9d9c03f639c6523bb6d6592517ba46d1f8f4566 Reviewed-on: https://chromium-review.googlesource.com/c/1335565 Commit-Queue: Marc Treib <[email protected]> Reviewed-by: Mikel Astiz <[email protected]> Cr-Commit-Position: refs/heads/master@{#608286}
diff --git a/components/browser_sync/sync_user_settings_impl.h b/components/browser_sync/sync_user_settings_impl.h index 394f0ccc..59bc7639 100644 --- a/components/browser_sync/sync_user_settings_impl.h +++ b/components/browser_sync/sync_user_settings_impl.h
@@ -21,7 +21,7 @@ public: // Both |service| and |prefs| must not be null, and must outlive this object. SyncUserSettingsImpl(ProfileSyncService* service, syncer::SyncPrefs* prefs); - ~SyncUserSettingsImpl(); + ~SyncUserSettingsImpl() override; bool IsSyncRequested() const override; void SetSyncRequested(bool requested) override;