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

Unified Diff: components/sync/engine_impl/get_updates_delegate.cc

Issue 2475043002: [Sync] Sync client should to exponential backoff when receive partial failure (Closed)
Patch Set: rebase 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/engine_impl/get_updates_delegate.cc
diff --git a/components/sync/engine_impl/get_updates_delegate.cc b/components/sync/engine_impl/get_updates_delegate.cc
index b2d5e754e4dc59b7061d69cf504a73978cd3535b..3af3285b7dab6e2036dd6d655569ff69417b4aa5 100644
--- a/components/sync/engine_impl/get_updates_delegate.cc
+++ b/components/sync/engine_impl/get_updates_delegate.cc
@@ -69,7 +69,7 @@ void NormalGetUpdatesDelegate::HelpPopulateGuMessage(
ModelType type =
GetModelTypeFromSpecificsFieldNumber(progress_marker->data_type_id());
- DCHECK(!nudge_tracker_.IsTypeThrottled(type))
+ DCHECK(!nudge_tracker_.IsTypeBlocked(type))
<< "Throttled types should have been removed from the request_types.";
nudge_tracker_.SetLegacyNotificationHint(type, progress_marker);
« no previous file with comments | « components/sync/engine_impl/cycle/test_util.cc ('k') | components/sync/engine_impl/get_updates_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698