invalidation::InvalidationService* invalidator,
const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
base::Closure callback);
- virtual ~SyncBackendHostForProfileSyncTest();
+ ~SyncBackendHostForProfileSyncTest() override;
- virtual void RequestConfigureSyncer(
+ void RequestConfigureSyncer(
syncer::ConfigureReason reason,
syncer::ModelTypeSet to_download,
syncer::ModelTypeSet to_purge,
syncer::ModelTypeSet to_unapply,
syncer::ModelTypeSet to_ignore,
const syncer::ModelSafeRoutingInfo& routing_info,
- const base::Callback<void(syncer::ModelTypeSet,
- syncer::ModelTypeSet)>& ready_task,
- const base::Closure& retry_callback) OVERRIDE;
+ const base::Callback<void(syncer::ModelTypeSet, syncer::ModelTypeSet)>&
+ ready_task,
+ const base::Closure& retry_callback) override;
protected:
- virtual void InitCore(scoped_ptr<DoInitializeOptions> options) OVERRIDE;
+ void InitCore(scoped_ptr<DoInitializeOptions> options) override;
private:
// Invoked at the start of HandleSyncManagerInitializationOnFrontendLoop.
ProfileOAuth2TokenService* oauth2_token_service,
browser_sync::ProfileSyncServiceStartBehavior behavior);
- virtual ~TestProfileSyncService();
+ ~TestProfileSyncService() override;
- virtual void OnConfigureDone(
- const sync_driver::DataTypeManager::ConfigureResult& result) OVERRIDE;
+ void OnConfigureDone(
+ const sync_driver::DataTypeManager::ConfigureResult& result) override;
// We implement our own version to avoid some DCHECKs.
- virtual syncer::UserShare* GetUserShare() const OVERRIDE;
+ syncer::UserShare* GetUserShare() const override;
static TestProfileSyncService* BuildAutoStartAsyncInit(
Profile* profile, base::Closure callback);
// Return NULL handle to use in backend initialization to avoid receiving
// js messages on UI loop when it's being destroyed, which are not deleted
// and cause memory leak in test.
- virtual syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler()
- OVERRIDE;
+ syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler() override;
- virtual bool NeedBackup() const OVERRIDE;
+ bool NeedBackup() const override;
private:
syncer::TestIdFactory id_factory_;