| Index: components/sync/test/engine/fake_sync_scheduler.cc
|
| diff --git a/sync/test/engine/fake_sync_scheduler.cc b/components/sync/test/engine/fake_sync_scheduler.cc
|
| similarity index 66%
|
| rename from sync/test/engine/fake_sync_scheduler.cc
|
| rename to components/sync/test/engine/fake_sync_scheduler.cc
|
| index e30b2a1d44931d39990bc58586ea3d6aa1cef63f..745830a519e2a90886cfacac4c8e7335120e0ddd 100644
|
| --- a/sync/test/engine/fake_sync_scheduler.cc
|
| +++ b/components/sync/test/engine/fake_sync_scheduler.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "sync/test/engine/fake_sync_scheduler.h"
|
| +#include "components/sync/test/engine/fake_sync_scheduler.h"
|
|
|
| namespace syncer {
|
|
|
| @@ -10,21 +10,17 @@ FakeSyncScheduler::FakeSyncScheduler() {}
|
|
|
| FakeSyncScheduler::~FakeSyncScheduler() {}
|
|
|
| -void FakeSyncScheduler::Start(Mode mode, base::Time last_poll_time) {
|
| -}
|
| +void FakeSyncScheduler::Start(Mode mode, base::Time last_poll_time) {}
|
|
|
| -void FakeSyncScheduler::Stop() {
|
| -}
|
| +void FakeSyncScheduler::Stop() {}
|
|
|
| void FakeSyncScheduler::ScheduleLocalNudge(
|
| ModelTypeSet types,
|
| - const tracked_objects::Location& nudge_location) {
|
| -}
|
| + const tracked_objects::Location& nudge_location) {}
|
|
|
| void FakeSyncScheduler::ScheduleLocalRefreshRequest(
|
| ModelTypeSet types,
|
| - const tracked_objects::Location& nudge_location) {
|
| -}
|
| + const tracked_objects::Location& nudge_location) {}
|
|
|
| void FakeSyncScheduler::ScheduleInvalidationNudge(
|
| syncer::ModelType type,
|
| @@ -32,7 +28,7 @@ void FakeSyncScheduler::ScheduleInvalidationNudge(
|
| const tracked_objects::Location& nudge_location) {}
|
|
|
| void FakeSyncScheduler::ScheduleConfiguration(
|
| - const ConfigurationParams& params) {
|
| + const ConfigurationParams& params) {
|
| params.ready_task.Run();
|
| }
|
|
|
| @@ -43,51 +39,37 @@ void FakeSyncScheduler::ScheduleClearServerData(const ClearParams& params) {
|
| void FakeSyncScheduler::ScheduleInitialSyncNudge(syncer::ModelType model_type) {
|
| }
|
|
|
| -void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) {
|
| -}
|
| +void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) {}
|
|
|
| -void FakeSyncScheduler::OnCredentialsUpdated() {
|
| -}
|
| +void FakeSyncScheduler::OnCredentialsUpdated() {}
|
|
|
| -void FakeSyncScheduler::OnConnectionStatusChange() {
|
| -}
|
| +void FakeSyncScheduler::OnConnectionStatusChange() {}
|
|
|
| -void FakeSyncScheduler::OnThrottled(
|
| - const base::TimeDelta& throttle_duration) {
|
| -}
|
| +void FakeSyncScheduler::OnThrottled(const base::TimeDelta& throttle_duration) {}
|
|
|
| void FakeSyncScheduler::OnTypesThrottled(
|
| ModelTypeSet types,
|
| - const base::TimeDelta& throttle_duration) {
|
| -}
|
| + const base::TimeDelta& throttle_duration) {}
|
|
|
| bool FakeSyncScheduler::IsCurrentlyThrottled() {
|
| return false;
|
| }
|
|
|
| void FakeSyncScheduler::OnReceivedShortPollIntervalUpdate(
|
| - const base::TimeDelta& new_interval) {
|
| -}
|
| + const base::TimeDelta& new_interval) {}
|
|
|
| void FakeSyncScheduler::OnReceivedLongPollIntervalUpdate(
|
| - const base::TimeDelta& new_interval) {
|
| -}
|
| + const base::TimeDelta& new_interval) {}
|
|
|
| void FakeSyncScheduler::OnReceivedCustomNudgeDelays(
|
| - const std::map<ModelType, base::TimeDelta>& nudge_delays) {
|
| -}
|
| + const std::map<ModelType, base::TimeDelta>& nudge_delays) {}
|
|
|
| -void FakeSyncScheduler::OnReceivedClientInvalidationHintBufferSize(int size) {
|
| -}
|
| +void FakeSyncScheduler::OnReceivedClientInvalidationHintBufferSize(int size) {}
|
|
|
| -void FakeSyncScheduler::OnSyncProtocolError(const SyncProtocolError& error) {
|
| -}
|
| +void FakeSyncScheduler::OnSyncProtocolError(const SyncProtocolError& error) {}
|
|
|
| -void FakeSyncScheduler::OnReceivedGuRetryDelay(
|
| - const base::TimeDelta& delay) {
|
| -}
|
| +void FakeSyncScheduler::OnReceivedGuRetryDelay(const base::TimeDelta& delay) {}
|
|
|
| -void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) {
|
| -}
|
| +void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) {}
|
|
|
| } // namespace syncer
|
|
|