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

Unified Diff: sync/test/engine/fake_sync_scheduler.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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_sync_scheduler.h ('k') | sync/test/engine/mock_connection_manager.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.cc
diff --git a/sync/test/engine/fake_sync_scheduler.cc b/sync/test/engine/fake_sync_scheduler.cc
deleted file mode 100644
index e30b2a1d44931d39990bc58586ea3d6aa1cef63f..0000000000000000000000000000000000000000
--- a/sync/test/engine/fake_sync_scheduler.cc
+++ /dev/null
@@ -1,93 +0,0 @@
-// 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,
- std::unique_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
« no previous file with comments | « sync/test/engine/fake_sync_scheduler.h ('k') | sync/test/engine/mock_connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698