blob: 894c01f1d4685e7e663c4e7aa50f3fa572870bf5 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// 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"
namespace syncer {
FakeSyncScheduler::FakeSyncScheduler() {}
FakeSyncScheduler::~FakeSyncScheduler() {}
void FakeSyncScheduler::Start(Mode mode, base::Time last_poll_time) {
}
void FakeSyncScheduler::Stop() {
}
void FakeSyncScheduler::ScheduleLocalNudge(
ModelTypeSet types,
const tracked_objects::Location& nudge_location) {
}
void FakeSyncScheduler::ScheduleLocalRefreshRequest(
ModelTypeSet types,
const tracked_objects::Location& nudge_location) {
}
void FakeSyncScheduler::ScheduleInvalidationNudge(
syncer::ModelType type,
scoped_ptr<InvalidationInterface> interface,
const tracked_objects::Location& nudge_location) {
}
void FakeSyncScheduler::ScheduleConfiguration(
const ConfigurationParams& params) {
params.ready_task.Run();
}
void FakeSyncScheduler::ScheduleClearServerData(const ClearParams& params) {
params.report_success_task.Run();
}
void FakeSyncScheduler::ScheduleInitialSyncNudge(syncer::ModelType model_type) {
}
void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) {
}
void FakeSyncScheduler::OnCredentialsUpdated() {
}
void FakeSyncScheduler::OnConnectionStatusChange() {
}
void FakeSyncScheduler::OnThrottled(
const base::TimeDelta& throttle_duration) {
}
void FakeSyncScheduler::OnTypesThrottled(
ModelTypeSet types,
const base::TimeDelta& throttle_duration) {
}
bool FakeSyncScheduler::IsCurrentlyThrottled() {
return false;
}
void FakeSyncScheduler::OnReceivedShortPollIntervalUpdate(
const base::TimeDelta& new_interval) {
}
void FakeSyncScheduler::OnReceivedLongPollIntervalUpdate(
const base::TimeDelta& new_interval) {
}
void FakeSyncScheduler::OnReceivedCustomNudgeDelays(
const std::map<ModelType, base::TimeDelta>& nudge_delays) {
}
void FakeSyncScheduler::OnReceivedClientInvalidationHintBufferSize(int size) {
}
void FakeSyncScheduler::OnSyncProtocolError(const SyncProtocolError& error) {
}
void FakeSyncScheduler::OnReceivedGuRetryDelay(
const base::TimeDelta& delay) {
}
void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) {
}
} // namespace syncer