Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: sync/engine/sync_scheduler_impl.h

Issue 642023004: Standardize usage of virtual/override/final in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/engine/sync_scheduler.h ('k') | sync/engine/syncer_proto_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/sync_scheduler_impl.h
diff --git a/sync/engine/sync_scheduler_impl.h b/sync/engine/sync_scheduler_impl.h
index b197e880432a34023aeb5146ae85f548f0b74456..e3c505b26027c2422344263ea065fc736e9ecdff 100644
--- a/sync/engine/sync_scheduler_impl.h
+++ b/sync/engine/sync_scheduler_impl.h
@@ -49,45 +49,43 @@ class SYNC_EXPORT_PRIVATE SyncSchedulerImpl
Syncer* syncer);
// Calls Stop().
- virtual ~SyncSchedulerImpl();
+ ~SyncSchedulerImpl() override;
- virtual void Start(Mode mode) override;
- virtual void ScheduleConfiguration(
- const ConfigurationParams& params) override;
- virtual void Stop() override;
- virtual void ScheduleLocalNudge(
+ void Start(Mode mode) override;
+ void ScheduleConfiguration(const ConfigurationParams& params) override;
+ void Stop() override;
+ void ScheduleLocalNudge(
ModelTypeSet types,
const tracked_objects::Location& nudge_location) override;
- virtual void ScheduleLocalRefreshRequest(
+ void ScheduleLocalRefreshRequest(
ModelTypeSet types,
const tracked_objects::Location& nudge_location) override;
- virtual void ScheduleInvalidationNudge(
+ void ScheduleInvalidationNudge(
syncer::ModelType type,
scoped_ptr<InvalidationInterface> invalidation,
const tracked_objects::Location& nudge_location) override;
- virtual void ScheduleInitialSyncNudge(syncer::ModelType model_type) override;
- virtual void SetNotificationsEnabled(bool notifications_enabled) override;
+ void ScheduleInitialSyncNudge(syncer::ModelType model_type) override;
+ void SetNotificationsEnabled(bool notifications_enabled) override;
- virtual void OnCredentialsUpdated() override;
- virtual void OnConnectionStatusChange() override;
+ void OnCredentialsUpdated() override;
+ void OnConnectionStatusChange() override;
// SyncSession::Delegate implementation.
- virtual void OnThrottled(const base::TimeDelta& throttle_duration) override;
- virtual void OnTypesThrottled(
- ModelTypeSet types,
- const base::TimeDelta& throttle_duration) override;
- virtual bool IsCurrentlyThrottled() override;
- virtual void OnReceivedShortPollIntervalUpdate(
+ void OnThrottled(const base::TimeDelta& throttle_duration) override;
+ void OnTypesThrottled(ModelTypeSet types,
+ const base::TimeDelta& throttle_duration) override;
+ bool IsCurrentlyThrottled() override;
+ void OnReceivedShortPollIntervalUpdate(
const base::TimeDelta& new_interval) override;
- virtual void OnReceivedLongPollIntervalUpdate(
+ void OnReceivedLongPollIntervalUpdate(
const base::TimeDelta& new_interval) override;
- virtual void OnReceivedCustomNudgeDelays(
+ void OnReceivedCustomNudgeDelays(
const std::map<ModelType, base::TimeDelta>& nudge_delays) override;
- virtual void OnReceivedClientInvalidationHintBufferSize(int size) override;
- virtual void OnSyncProtocolError(
+ void OnReceivedClientInvalidationHintBufferSize(int size) override;
+ void OnSyncProtocolError(
const SyncProtocolError& sync_protocol_error) override;
- virtual void OnReceivedGuRetryDelay(const base::TimeDelta& delay) override;
- virtual void OnReceivedMigrationRequest(syncer::ModelTypeSet types) override;
+ void OnReceivedGuRetryDelay(const base::TimeDelta& delay) override;
+ void OnReceivedMigrationRequest(syncer::ModelTypeSet types) override;
// Returns true if the client is currently in exponential backoff.
bool IsBackingOff() const;
« no previous file with comments | « sync/engine/sync_scheduler.h ('k') | sync/engine/syncer_proto_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698