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

Unified Diff: components/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
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
« no previous file with comments | « components/sync/test/engine/fake_sync_scheduler.h ('k') | components/sync/test/engine/mock_connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698