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

Unified Diff: components/sync/test/engine/fake_sync_scheduler.h

Issue 2475043002: [Sync] Sync client should to exponential backoff when receive partial failure (Closed)
Patch Set: add test Created 4 years, 1 month 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.h
diff --git a/components/sync/test/engine/fake_sync_scheduler.h b/components/sync/test/engine/fake_sync_scheduler.h
index 950415d20a6f42711e8968334373d0646cce3264..6982fc75a63c7047e479ca785e110ed844dc2af4 100644
--- a/components/sync/test/engine/fake_sync_scheduler.h
+++ b/components/sync/test/engine/fake_sync_scheduler.h
@@ -46,6 +46,7 @@ class FakeSyncScheduler : public SyncScheduler {
void OnThrottled(const base::TimeDelta& throttle_duration) override;
void OnTypesThrottled(ModelTypeSet types,
const base::TimeDelta& throttle_duration) override;
+ void OnTypesBackedOff(ModelTypeSet types) override;
bool IsCurrentlyThrottled() override;
void OnReceivedShortPollIntervalUpdate(
const base::TimeDelta& new_interval) override;

Powered by Google App Engine
This is Rietveld 408576698