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

Unified Diff: sync/test/engine/fake_sync_scheduler.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/test/engine/fake_model_worker.h ('k') | sync/test/engine/injectable_sync_context_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/fake_sync_scheduler.h
diff --git a/sync/test/engine/fake_sync_scheduler.h b/sync/test/engine/fake_sync_scheduler.h
index 3c1f34ca3a0757d4c7ee33aea66e9e44a8503a8d..8e44d138d734585c740f7b288bc2d2e395225191 100644
--- a/sync/test/engine/fake_sync_scheduler.h
+++ b/sync/test/engine/fake_sync_scheduler.h
@@ -17,47 +17,42 @@ namespace syncer {
class FakeSyncScheduler : public SyncScheduler {
public:
FakeSyncScheduler();
- virtual ~FakeSyncScheduler();
+ ~FakeSyncScheduler() override;
- virtual void Start(Mode mode) override;
- virtual void Stop() override;
- virtual void ScheduleLocalNudge(
+ void Start(Mode mode) 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> interface,
const tracked_objects::Location& nudge_location) override;
- virtual void ScheduleConfiguration(
- const ConfigurationParams& params) override;
- virtual void ScheduleInitialSyncNudge(syncer::ModelType model_type) override;
- virtual void SetNotificationsEnabled(bool notifications_enabled) override;
+ void ScheduleConfiguration(const ConfigurationParams& params) 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(
- const SyncProtocolError& error) override;
- virtual void OnReceivedGuRetryDelay(
- const base::TimeDelta& delay) override;
- virtual void OnReceivedMigrationRequest(ModelTypeSet types) override;
+ void OnReceivedClientInvalidationHintBufferSize(int size) override;
+ void OnSyncProtocolError(const SyncProtocolError& error) override;
+ void OnReceivedGuRetryDelay(const base::TimeDelta& delay) override;
+ void OnReceivedMigrationRequest(ModelTypeSet types) override;
};
} // namespace syncer
« no previous file with comments | « sync/test/engine/fake_model_worker.h ('k') | sync/test/engine/injectable_sync_context_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698